env

package
v0.0.0-...-9edbc40 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvDevelopment = "development"
	EnvStaging     = "staging"
	EnvProduction  = "production"
)

Environment List

Variables

This section is empty.

Functions

func Get

func Get() string

Get return string of current environment flag

func IsDevelopment

func IsDevelopment() bool

IsDevelopment check if current env is development

func IsProduction

func IsProduction() bool

IsProduction check if current env is production

Types

This section is empty.

Jump to

Keyboard shortcuts

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