mode

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	/*********Will auto update by ci build *********/
	Mode = "development"
)

Functions

func IsDevelopmentMode

func IsDevelopmentMode() bool

func IsProductionMode

func IsProductionMode() bool

func IsTestMode

func IsTestMode() bool

Types

type AppMode

type AppMode string
const (
	DevelopmentMode AppMode = "development"
	ProductionMode  AppMode = "production"
	TestMode        AppMode = "test"
)

func Get

func Get() AppMode

Jump to

Keyboard shortcuts

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