Search and commands

↑ ↓ to select · Enter to open · Esc to close

Type to search packages.

main

v5.5.0
github.com/go-chi/chi/v5/_examples/todos-resource

Documentation

pkg.go.dev ↗
Top ↑

This example demonstrates a project structure that defines a subrouter and its handlers on a struct, and mounting them as subrouters to a parent router. See also _examples/rest for an in-depth example of a REST service, and apply those same patterns to this structure.

Dependency graph