env

package
v1.1.14 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Dev     = "dev"
	Online  = "online"
	Staging = "staging"
	CI      = "ci"
)

Variables

View Source
var (
	WorkDir string
)

Functions

func GetEnv

func GetEnv() string

GetEnv get environment ENV

func IsCI

func IsCI() bool

IsCI is ci

func IsDEV

func IsDEV() bool

IsDEV is dev

func IsOnline

func IsOnline() bool

IsOnline is online

func IsStaging

func IsStaging() bool

IsStaging is staging

func SetSvcName

func SetSvcName(name string)

func SvcName

func SvcName() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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