unsupported Scan, storing driver.Value type []uint8 into type *time.Time
连接数据库的时候,有的字段为TIMESTAMP类型
需要在DSN里面加上?parseTime=true
admin:redhat@tcp(1.1.1.1:3306)/userlist?parseTime=True
unsupported Scan, storing driver.Value type []uint8 into type *time.Time
连接数据库的时候,有的字段为TIMESTAMP类型
需要在DSN里面加上?parseTime=true
admin:redhat@tcp(1.1.1.1:3306)/userlist?parseTime=True