若要在專案中,顯示gorm.Debug() 相關的sql 資訊以利偵錯使用,可以搭配logrus type GormLogger struct{} // Print handles log ev.
確定! 回上一頁