MCPcopy
hub / github.com/gin-gonic/gin / debugPrintWARNINGNew

Function debugPrintWARNINGNew

debug.go:92–98  ·  debug.go::debugPrintWARNINGNew
()

Source from the content-addressed store, hash-verified

90}
91
92func debugPrintWARNINGNew() {
93 debugPrint(`[WARNING] Running in "debug" mode. Switch to "release" mode in production.
94 - using env: export GIN_MODE=release
95 - using code: gin.SetMode(gin.ReleaseMode)
96
97`)
98}
99
100func debugPrintWARNINGSetHTMLTemplate() {
101 debugPrint(`[WARNING] Since SetHTMLTemplate() is NOT thread-safe. It should only be called

Callers 2

NewFunction · 0.85
TestDebugPrintWARNINGNewFunction · 0.85

Calls 1

debugPrintFunction · 0.85

Tested by 1

TestDebugPrintWARNINGNewFunction · 0.68