Documentation ¶
Overview ¶
Package engine implements the factory function of *gin.Engine writing logs using zap.
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func SetDefaultMode ¶
func SetDefaultMode(defaultMode string)
SetDefaultMode changes the mode of gin to defaultMode if the environment variable GIN_MODE (a.k.a gin.EnvGinMode) is not set, otherwise set to GIN_MODE.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.