Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.
23
func
Get() string {
24
return
mode
25
}
26
27
// IsDev returns true if the current mode is dev mode.
28
func
IsDev() bool {
Callers
6
configFiles
Function · 0.92
IsDev
Function · 0.70
updateGinMode
Function · 0.70
TestDevMode
Function · 0.70
TestTestDevMode
Function · 0.70
TestProdMode
Function · 0.70
Calls
no outgoing calls
Tested by
3
TestDevMode
Function · 0.56
TestTestDevMode
Function · 0.56
TestProdMode
Function · 0.56