Explorar el Código

gofmt -w errors.go (#179)

Tariq Ibrahim hace 7 años
padre
commit
ba968bfe8b
Se han modificado 1 ficheros con 1 adiciones y 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...),
 	}
 }