MCPcopy
hub / github.com/gotify/server / Get

Function Get

mode/mode.go:23–25  ·  view source on GitHub ↗

Get returns the current mode.

()

Source from the content-addressed store, hash-verified

21
22// Get returns the current mode.
23func Get() string {
24 return mode
25}
26
27// IsDev returns true if the current mode is dev mode.
28func IsDev() bool {

Callers 6

configFilesFunction · 0.92
IsDevFunction · 0.70
updateGinModeFunction · 0.70
TestDevModeFunction · 0.70
TestTestDevModeFunction · 0.70
TestProdModeFunction · 0.70

Calls

no outgoing calls

Tested by 3

TestDevModeFunction · 0.56
TestTestDevModeFunction · 0.56
TestProdModeFunction · 0.56