mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Update dependencies
This commit is contained in:
4
vendor/github.com/gin-gonic/gin/examples/app-engine/hello.go
generated
vendored
4
vendor/github.com/gin-gonic/gin/examples/app-engine/hello.go
generated
vendored
@@ -13,10 +13,10 @@ func init() {
|
||||
|
||||
// Define your handlers
|
||||
r.GET("/", func(c *gin.Context) {
|
||||
c.String(200, "Hello World!")
|
||||
c.String(http.StatusOK, "Hello World!")
|
||||
})
|
||||
r.GET("/ping", func(c *gin.Context) {
|
||||
c.String(200, "pong")
|
||||
c.String(http.StatusOK, "pong")
|
||||
})
|
||||
|
||||
// Handle all requests using net/http
|
||||
|
||||
Reference in New Issue
Block a user