feat(Go-StudyExample):包方法重构

This commit is contained in:
Huangzj
2020-12-16 11:30:31 +08:00
parent 1d21a9634e
commit a97c2c9bcc
17 changed files with 74 additions and 125 deletions
-23
View File
@@ -7,36 +7,13 @@
package main
import (
"Go-StudyExample/example"
"Go-StudyExample/example/originGoLanguage"
_ "Go-StudyExample/example/originGoLanguage/init"
"Go-StudyExample/example/problem"
)
func main() {
//--------------------------测试mapStructure的功能-----
//这边的四种使用方式差别感觉不是很大...
example.MapStructureTestFunc()
example.MapStructureTestFunc1()
example.MapStructureTestFunc2()
example.MapStructureTestFunc3()
////--------------------------测试json包的转换功能
example.JsonMarshalTest()
example.JsonUnmarshalTest()
////克隆测试
example.TestClone()
////二维码测试
example.QrCodeTest()
//图片测试
example.ImageTest()
//go原生语言测试
originGoLanguage.TestOriginLang()
//矩阵旋转
problem.MatrixRotationTest()
}