env

package
v0.0.0-...-17b6be2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppName string
View Source
var AppPath string

Functions

func IsDev

func IsDev() bool

func IsLocal

func IsLocal() bool

func IsProd

func IsProd() bool

func IsTest

func IsTest() bool

Types

type ENV

type ENV string
const (
	Local ENV = "local"
	Dev   ENV = "dev"
	Test  ENV = "test"
	Prod  ENV = "prod"
)

func GetEnv

func GetEnv() ENV

Jump to

Keyboard shortcuts

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