
Go
甜紫晨
认真负责团队
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Go语言生成GUID和UUID
1.安装 go get -u github.com/timespacegroup/go-utils import ( "github.com/timespacegroup/go-utils" ) 使用,例:fieldNames := tsgutils.NewInterfaceBuilder() 1.生成GUID func TestGUID(t *testing.T...原创 2018-04-29 15:49:42 · 9074 阅读 · 0 评论 -
Go语言生成对象数组-InterfaceBuilder
1.安装 go get -u github.com/timespacegroup/go-utils import ( "github.com/timespacegroup/go-utils" ) 使用,例:fieldNames := tsgutils.NewInterfaceBuilder() 2.使用 var s1 string = "Abc" ...原创 2018-04-29 16:01:29 · 5328 阅读 · 0 评论 -
Go语言字符串批量拼接-StringBuilder
1.安装 go get -u github.com/timespacegroup/go-utils import ( "github.com/timespacegroup/go-utils" ) 使用,例:fieldNames := tsgutils.NewInterfaceBuilder() 1.使用 func TestStringBuilderReplac...原创 2018-04-29 16:07:12 · 5263 阅读 · 0 评论 -
Go语言字符串操作
1.安装 go get -u github.com/timespacegroup/go-utils import ( "github.com/timespacegroup/go-utils" ) 使用,例:fieldNames := tsgutils.NewInterfaceBuilder() 2.使用 2.1 字符串拼接、int、int64、Float64 ...原创 2018-04-29 17:44:22 · 549 阅读 · 0 评论 -
Go语言操作MySQL数据库
1.安装 go get -u github.com/timespacegroup/go-mysql-utils go get -u github.com/timespacegroup/go-utils import ( "github.com/timespacegroup/go-mysql-utils" ) 2.创建数据库客户端 var dbConfig t...原创 2018-04-29 18:11:29 · 737 阅读 · 0 评论 -
Go语言数据库ORM(自动化)(MySQL数据库)
1.安装 go get -u github.com/timespacegroup/go-mysql-utils go get -u github.com/timespacegroup/go-utils import ( "github.com/timespacegroup/go-mysql-utils" ) 2.创建数据库客户端,执行自动化ORM: Object(stru...原创 2018-04-29 18:23:50 · 4069 阅读 · 0 评论