Go 【golang】gorm出现incorrect datetime value ‘0000-0-0 00:00:00’ for column问题 因为 mysql 的 8.0 以上版本不支持零日期格式,导致 gorm 插入默认数据出错。 解决方法一:修改代…