Skip to content

Commit 7dd16c9

Browse files
committed
fix golint.
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent a95326f commit 7dd16c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/server.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"time"
99
)
1010

11-
func HelloHandler(c *gin.Context) {
11+
func helloHandler(c *gin.Context) {
1212
c.JSON(200, gin.H{
1313
"text": "Hello World.",
1414
})
@@ -57,7 +57,7 @@ func main() {
5757
auth := r.Group("/auth")
5858
auth.Use(authMiddleware.MiddlewareFunc())
5959
{
60-
auth.GET("/hello", HelloHandler)
60+
auth.GET("/hello", helloHandler)
6161
auth.GET("/refresh_token", authMiddleware.RefreshHandler)
6262
}
6363

0 commit comments

Comments
 (0)