Routing
Routing
gofh uses a simple and intuitive routing system. You can define routes for different HTTP methods:
app.Get("/").Handle(homeHandler)
app.Post("/submit").Handle(submitHandler)
You can also use parameters in your routes:
app.Get("/user/{id}").Handle(userHandler)
Last updated