diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-02-12 19:18:05 +0100 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2024-02-19 14:15:07 +0100 |
| commit | 74e36f0ead717105f26087c2cab08b41ba5a7ce8 (patch) | |
| tree | 1eb2b7516bea705c9b5a50ce0965e170414ed880 /i18nerr | |
| parent | 682d70091af2044ff6d8b350da9dff13163232e2 (diff) | |
All: Document everything to pass revive lint
Diffstat (limited to 'i18nerr')
| -rw-r--r-- | i18nerr/i18nerr.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18nerr/i18nerr.go b/i18nerr/i18nerr.go index 2dea504..553a7d5 100644 --- a/i18nerr/i18nerr.go +++ b/i18nerr/i18nerr.go @@ -1,4 +1,4 @@ -// package i18nerr implements errors with internationalization using gotext +// Package i18nerr implements errors with internationalization using gotext package i18nerr import ( @@ -138,7 +138,7 @@ func Wrapf(err error, key message.Reference, args ...interface{}) *Error { return &Error{key: key, args: args, wrapped: &Error{key: t, Misc: misc}, Misc: misc} } -// NewInternalf creates an internal localised error from a display string +// NewInternal creates an internal localised error from a display string func NewInternal(disp string) *Error { return Wrap(errors.New(disp), "An internal error occurred") } |
