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 ( "joongna/controller" "github.com/labstack/echo/v4" ) const ( API = "/api/v2" APIJoongNa = API + "/JoongNa" APIKeyword = APIJoongNa + "/:keyword" ) func Init(e *echo.Echo) { e.GET(APIKeyword, controller.Search) }