Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/gin-gonic/gin
/ init
Function
init
mode.go:52–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
50
)
51
52
func
init() {
53
mode := os.Getenv(EnvGinMode)
54
SetMode(mode)
55
}
56
57
// SetMode sets gin mode according to input string.
58
func
SetMode(value string) {
Callers
nothing calls this directly
Calls
1
SetMode
Function · 0.85
Tested by
no test coverage detected