We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 370d2dd commit 2971e7eCopy full SHA for 2971e7e
goweb/gowebgin/main.go
@@ -10,13 +10,5 @@ func main() {
10
})
11
12
13
- r.GET("/users", func(c *gin.Context) {
14
- c.JSON(200, NUsers(10))
15
- })
16
-
17
- r.GET("/users/:username", func(c *gin.Context) {
18
- c.JSON(200, User(1))
19
20
21
r.Run() // listen and serve on 0.0.0.0:8080 (for windows "localhost:8080")
22
}
goweb/gowebgin/user.go
0 commit comments