mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-10 23:27:33 +08:00
Merge e1344a901bc3051de3fd0f1cbe5913ea7b53a284 into d4a53101c3da8fe67c29f0e52538167215d31fc4
This commit is contained in:
commit
7aac293e6b
@ -9,6 +9,7 @@ import (
|
|||||||
func init() {
|
func init() {
|
||||||
// Starts a new Gin instance with no middle-ware
|
// Starts a new Gin instance with no middle-ware
|
||||||
r := gin.New()
|
r := gin.New()
|
||||||
|
gin.SetMode(gin.ReleaseMode)
|
||||||
|
|
||||||
// Define your handlers
|
// Define your handlers
|
||||||
r.GET("/", func(c *gin.Context) {
|
r.GET("/", func(c *gin.Context) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user