forked from mirror/gin
631cfbd1ef
Hello! Looking through context package and found a little bit complicated switch block. And tried to make it easier. Thanks! |
||
---|---|---|
.. | ||
README.md | ||
gins.go |
README.md
Gin Default Server
This is API experiment for Gin.
package main
import (
"github.com/gin-gonic/gin"
"github.com/gin-gonic/gin/ginS"
)
func main() {
ginS.GET("/", func(c *gin.Context) { c.String(200, "Hello World") })
ginS.Run()
}