Explorar o código

gofmt -w errors.go (#179)

Tariq Ibrahim %!s(int64=7) %!d(string=hai) anos
pai
achega
ba968bfe8b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      errors.go

+ 1 - 1
errors.go

@@ -229,7 +229,7 @@ func WithMessagef(err error, format string, args ...interface{}) error {
 	}
 	return &withMessage{
 		cause: err,
-		msg: fmt.Sprintf(format, args...),
+		msg:   fmt.Sprintf(format, args...),
 	}
 }