Tags: kissthink/gorm
Tags
Check valuer interface before scan value (go-gorm#2155) Scan interface only accept int64, float64, bool, []byte, string, time.Time or nil. When do scan, it's better to check whether the type support valuer interface and do convert.