meetandeat/controller/examples/main.go

12 lines
137 B
Go

package examples
import (
"github.com/gin-gonic/gin"
)
func Bind(r *gin.RouterGroup) {
r.GET("/ping", ping)
r.GET("/incr", incr)
}