mirror of https://github.com/gin-gonic/gin.git
commit
f931d1ea80
|
@ -11,7 +11,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
ginS.GET("/", func(c *gin.Context) { c.String("Hello World") })
|
ginS.GET("/", func(c *gin.Context) { c.String(200, "Hello World") })
|
||||||
ginS.Run()
|
ginS.Run()
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue