Forráskód Böngészése

Revert formating of MySQLError.Error()

users may rely on it
Julien Schmidt 10 éve
szülő
commit
4cad0fb506
1 módosított fájl, 1 hozzáadás és 1 törlés
  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