How can I get error details for a SQL Insert done in Go?
Advertisements I’m trying to insert some data into a Database with Go. Due to the nature of the data (large export from another tool), I hit sometimes some of my models constraints. With the following Go code _, err := db.Exec(query, params…) if err != nil { log.Print(err) } I simply get an output like… Read More How can I get error details for a SQL Insert done in Go?