mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
250 B
250 B
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()
}