Przeglądaj źródła

gofmt -w errors.go (#179)

Tariq Ibrahim 7 lat temu
rodzic
commit
ba968bfe8b
1 zmienionych plików z 1 dodań i 1 usunięć
  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...),
 	}
 }