Documentation ¶
Index ¶
- func Is(envs ...Env) bool
- func IsDebug() bool
- func IsDev() bool
- func IsProd() bool
- func IsStage() bool
- func IsUseString(envs ...string) bool
- func NewContext(ctx context.Context, env Env) context.Context
- func Provider(env Env) func(ctx context.Context) (context.Context, error)
- func SetEnv(env Env)
- type Env
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsUseString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.