meetandeat/controller/examples/main.go

12 lines
137 B
Go
Raw Normal View History

2019-03-22 16:35:16 +01:00
package examples
import (
"github.com/gin-gonic/gin"
)
func Bind(r *gin.RouterGroup) {
r.GET("/ping", ping)
r.GET("/incr", incr)
}