These are chat archives for gin-gonic/gin

Mar 2016
Qian Hong
Mar 16 2016 03:18
@appleboy ah, thanks a lot, that's what I need
Mar 16 2016 03:29
I'm new to learn go, so there is a question about this example, who can tell me the reason why the braces appears. authorized.Use(AuthRequired())
authorized.POST("/login", loginEndpoint)
authorized.POST("/submit", submitEndpoint)
authorized.POST("/read", readEndpoint)
    // nested group
    testing := authorized.Group("testing")
    testing.GET("/analytics", analyticsEndpoint)