Skip to content

Instantly share code, notes, and snippets.

@thehowl
Created November 11, 2015 19:57
Show Gist options
  • Save thehowl/9c5e15007b5c68af9980 to your computer and use it in GitHub Desktop.
Save thehowl/9c5e15007b5c68af9980 to your computer and use it in GitHub Desktop.
test for gitbao
package main
import (
"github.com/gin-gonic/gin"
)
func main() {
r := gin.Default()
r.GET("/", func(c *gin.Context) {
c.String(200, "Welcome. This is a test.")
})
r.Run(":8080") // listen and serve on 0.0.0.0:8080
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment