Skip to content

Instantly share code, notes, and snippets.

@maxmcd
Forked from thehowl/main.go
Created November 11, 2015 21:15
Show Gist options
  • Save maxmcd/c9f20973d5122365fc63 to your computer and use it in GitHub Desktop.
Save maxmcd/c9f20973d5122365fc63 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