Im writing some rest API Services on the appegine in a different modules im also using Gin for routing.
I cant figur out the correct way to config my dispath.yaml file
dispatch:
url: “*/”
module: defaulturl: “*/meal”
module: meal//this will give me 404 r.Handle("GET", "/meal/all", m.GetAllMeals) //get all meals r.Handle("GET", "/meal/:id", m.GetAllMealById) // get meal by id http.Handle("/meal", r)
What is the proper way to configure the dispatch and the handler ?