ubuntu / decorate

Go package containing various helpers to decorate errors with fewer lines of code in functions.
MIT License
3 stars 2 forks source link

Only use Sprintf when we have arguments to format #26

Closed denisonbarbosa closed 2 months ago

denisonbarbosa commented 2 months ago

This prevents calls to fmt.Sprintf on final strings, which speeds up things slightly and avoids issues when decorating translated strings.

UDENG-4074