Gin Default Server

This is API experiment for Gin.

  1. package main
  2. import (
  3. "github.com/gin-gonic/gin"
  4. "github.com/gin-gonic/gin/ginS"
  5. )
  6. func main() {
  7. ginS.GET("/", func(c *gin.Context) { c.String(200, "Hello World") })
  8. ginS.Run()
  9. }