Documentation
¶
Index ¶
- func Errorf(key string, args ...any) error
- func Locale(ctx context.Context) string
- func Localize(err error, locale string) error
- func Match(header string) string
- func Message(err error, locale string) string
- func Register() error
- func Text(locale, key string, args ...any) string
- func WithLocale(ctx context.Context, locale string) context.Context
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.