gin/ginS/README.md

18 lines
250 B
Markdown
Raw Normal View History

2017-06-13 03:35:10 +00:00
# Gin Default Server
2015-08-16 16:44:18 +00:00
This is API experiment for Gin.
```go
package main
import (
"github.com/gin-gonic/gin"
"github.com/gin-gonic/gin/ginS"
)
func main() {
2016-05-17 07:14:47 +00:00
ginS.GET("/", func(c *gin.Context) { c.String(200, "Hello World") })
2015-08-16 16:44:18 +00:00
ginS.Run()
}
```