摘要:        
package validator_web import ( "errors" "github.com/gin-gonic/gin/binding" "github.com/go-playground/locales/en" "github.com/go-playground/locales/zh"    阅读全文
posted @ 2021-08-24 18:19
Silent-Cxl
阅读(553)
评论(0)
推荐(1)
        
            
        
        
摘要:        
时间字段的结构体使用 LocalTime 类型即可 package tool import ( "database/sql/driver" "fmt" "goskeleton/app/global/variable" "time" ) type LocalTime struct { time.Tim    阅读全文
posted @ 2021-08-24 13:42
Silent-Cxl
阅读(62)
评论(0)
推荐(0)
        
            
        
        
摘要:        
入门 GO,where 条件组装 import ( "fmt" "strings" ) type WhereQuery struct { Filter bool QuerySql string // where sql Queries []string // where 条件 QueryParams    阅读全文
posted @ 2021-08-24 11:45
Silent-Cxl
阅读(133)
评论(0)
推荐(0)
        

浙公网安备 33010602011771号