env

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidEnv = fmt.Errorf("unexpected app_env value")

Functions

This section is empty.

Types

type Env

type Env string
const (
	Dev Env = "dev"
	Stg Env = "stg"
	Prd Env = "prd"
)

func GetEnv

func GetEnv() (Env, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL