Explorar o código

Revert formating of MySQLError.Error()

users may rely on it
Julien Schmidt %!s(int64=10) %!d(string=hai) anos
pai
achega
4cad0fb506
Modificáronse 1 ficheiros con 1 adicións e 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