Explorar el Código

Revert formating of MySQLError.Error()

users may rely on it
Julien Schmidt hace 10 años
padre
commit
4cad0fb506
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      errors.go

+ 1 - 1
errors.go

@@ -56,7 +56,7 @@ type MySQLError struct {
 }
 
 func (me *MySQLError) Error() string {
-	return fmt.Sprintf("error %d: %s", me.Number, me.Message)
+	return fmt.Sprintf("Error %d: %s", me.Number, me.Message)
 }
 
 // MySQLWarnings is an error type which represents a group of one or more MySQL