Registry /
web-framework / go-ozzo-ozzo-routing-v2
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
routing
✓ github.com/go-ozzo/ozzo-routing/v2
Sets up a basic HTTP server with a route.
package main
import (
"github.com/go-ozzo/ozzo-routing/v2"
"net/http"
)
func main() {
router := routing.New()
router.Get("/", func(c *routing.Context) error {
return c.Write("Hello, world!")
})
http.ListenAndServe(":8080", router)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
2.4.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.