main
v3.3.3+incompatible
github.com/eknkc/chi/_examples/fileserver
Documentation
pkg.go.dev ↗Functions
FileServer
func FileServer(r chi.Router, path string, root http.FileSystem)
FileServer conveniently sets up a http.FileServer handler to serve static files from a http.FileSystem.