feat(Go-StudyExample):添加两种二维码生成使用示例,添加两种图片压缩方式、添加水印示例,添加文字到图片

This commit is contained in:
huangzj
2020-07-08 17:15:32 +08:00
parent dbda09379d
commit f5894a2680
9 changed files with 331 additions and 15 deletions
+21 -13
View File
@@ -6,20 +6,28 @@
package main
import "Go-StudyExample/example"
import (
"Go-StudyExample/example"
)
func main() {
//--------------------------测试mapStructure的功能-----
//这边的四种使用方式差别感觉不是很大...
example.MapStructureTestFunc()
example.MapStructureTestFunc1()
example.MapStructureTestFunc2()
example.MapStructureTestFunc3()
//--------------------------测试json包的转换功能
example.JsonMarshalTest()
example.JsonUnmarshalTest()
example.TestClone()
////--------------------------测试mapStructure的功能-----
////这边的四种使用方式差别感觉不是很大...
//example.MapStructureTestFunc()
//example.MapStructureTestFunc1()
//example.MapStructureTestFunc2()
//example.MapStructureTestFunc3()
//
////--------------------------测试json包的转换功能
//example.JsonMarshalTest()
//example.JsonUnmarshalTest()
//
////克隆测试
//example.TestClone()
//
////二维码测试
//example.QrCodeTest()
//图片测试
example.ImageTest()
}