main
v3.3.4
gopkg.in/chi.v3/_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.