router.go 254 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 package main import ( . "client/icesimba.ad/apis" "github.com/gin-gonic/gin" ) func initRouter() *gin.Engine { router := gin.Default() router.GET("/ad/position/query", QueryAdMaterialApi) router.POST("/ad/event", PostAdEventApi) return router }