Documentation ¶
Index ¶
- func ErrLog(err error) slog.Attr
- func FinalizeLogger(handler slog.Handler)
- func HandleError(msg string, err error)
- func LoadEnv(envs ...EnvLoader) error
- func Logger() *slog.Logger
- func LookupEnv(t *testing.T, key string) string
- func Must1[T any](val T, err error) T
- func SafeClose(c Closer)
- func SafeWrite(w io.Writer, b []byte)
- type Closer
- type EnvLoader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FinalizeLogger ¶
func HandleError ¶ added in v0.0.4
Types ¶
Click to show internal directories.
Click to hide internal directories.