摘要:
关于go值传递参考这个:Golang 中直接赋值,是值传递还是地址传递? 关于Go的str var s string fmt.Printf("%p\n", &s) s = "aaa" fmt.Printf("%p\n", &s) s = "bbb" fmt.Printf("%p\n", &s) b 阅读全文
摘要:
model 定义 type Plan struct { Id int `gorm:"primary_key"` Title string `gorm:"column:title;not null;size:128"` Start time.Time `gorm:"type:date;column:s 阅读全文
摘要:
github.com/gin-gonic/gin v1.7.2关于validator // Validator is the default validator which implements the StructValidator // interface. It uses https://gi 阅读全文