sqlx 在把timestamp转为go的time.Time报错:
sql: Scan error on column index 6: unsupported Scan, storing driver.Value type []uint8 into type *time.Time
这个只需要在数据库链接字符串上加上parseTime=true就可以了,表示查询结果字段转为时间,如果不加上,sql查询出来的是0001-01-01 00:00:00 +0000 UTC
root:123456@tcp(172.17.0.1:3306)/sass_articles?charset=utf8mb4&parseTime=true