Documentation ¶ Index ¶ func SetMode() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SetMode ¶ func SetMode() SetMode from the GIN_MODE environment variable. Unlike the init function in gin, this function defaults to ReleaseMode when the environment variable has no value. Types ¶ This section is empty. Source Files ¶ View all Source files mode.go Click to show internal directories. Click to hide internal directories.