router.go 253 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 package router import ( "bunjang/controller" "github.com/labstack/echo/v4" ) const ( API = "/api/v2" APIBunJang = API + "/bunjang" APIKeyword = APIBunJang + "/:keyword" ) func Init(e *echo.Echo) { e.GET(APIKeyword, controller.Search) }