Documentation
¶
Index ¶
- func Env() types.EnvVars
- func HandleError(ctx context.Context, err error)
- func LoadEnv(envs ...EnvLoader) error
- func SafeClose(ctx context.Context, c Closer)
- func SafeWrite(ctx context.Context, w io.Writer, b []byte)
- func ToAny(input any) (any, error)
- func ToPtrSlice[T any](x []T) []*T
- type Closer
- type EnvLoader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleError ¶
func ToPtrSlice ¶
func ToPtrSlice[T any](x []T) []*T
Types ¶
Click to show internal directories.
Click to hide internal directories.