MCPcopy
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
52func init() {
53 mode := os.Getenv(EnvGinMode)
54 SetMode(mode)
55}
56
57// SetMode sets gin mode according to input string.
58func SetMode(value string) {

Callers

nothing calls this directly

Calls 1

SetModeFunction · 0.85

Tested by

no test coverage detected