feat(Go-StudyExample):2020/12/28:新增cast类型转换工具包
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
获取包命令:go get github.com/spf13/cast
|
||||
|
||||
To..方法直接返回转换后的类型
|
||||
|
||||
To..E方法,返回转换后的类型和报错信息
|
||||
Reference in New Issue
Block a user