gin
一懒众山小
这个作者很懒,什么都没留下…
展开
-
go gin gorm设置时间格式
package globalimport ( "time")//自定义gorm.Modeltype GORM_MODEL struct { ID uint `gorm:"primary_key"` CreatedAt MyTime `gorm:"comment:'创建时间';type:datetime;"` UpdatedAt MyTime `gorm:"comment:'修改时间';type:datetime;"` //CreatedAt time.Time //Upd原创 2021-04-01 15:24:44 · 5170 阅读 · 3 评论 -
go使用Redis之MISCONF Redis is configured to save RDB snapshots错误
go使用Redis之MISCONF Redis is configured to save RDB snapshots错误Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report erro原创 2021-03-19 15:29:13 · 145 阅读 · 0 评论