Documentation ¶
Index ¶
- func AddMessages(locale string, messages map[string]string) error
- func Debug(format string, args ...any)
- func DebugErr(err error)
- func DebugErrF(format string, err error, args ...any)
- func Error(format string, args ...any)
- func ErrorErr(err error)
- func ErrorErrF(format string, err error, args ...any)
- func Fatal(format string, args ...any)
- func FatalErr(err error)
- func FatalErrF(format string, err error, args ...any)
- func Info(format string, args ...any)
- func InfoErr(err error)
- func InfoErrF(format string, err error, args ...any)
- func IsOk(err error) bool
- func Message(ctx context.Context, key string, args ...any) string
- func MustAddMessages(locale string, messages map[string]string)
- func Panic(format string, args ...any)
- func PanicErr(err error)
- func PanicErrF(format string, err error, args ...any)
- func Warn(format string, args ...any)
- func WarnErr(err error)
- func WarnErrF(format string, err error, args ...any)
- func WithLocale(ctx context.Context, locales string) context.Context
- type Err
- type ErrMarshaller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustAddMessages ¶
Types ¶
type Err ¶
func (*Err) WithStatus ¶
type ErrMarshaller ¶
type ErrMarshaller struct {
// contains filtered or unexported fields
}
func (*ErrMarshaller) MarshalZerologObject ¶
func (e *ErrMarshaller) MarshalZerologObject(event *zerolog.Event)
Click to show internal directories.
Click to hide internal directories.