package
0.10.3
Repository: https://github.com/basharal/common.git
Documentation: pkg.go.dev

# Functions

FileServe returns a new http.HandlerFunc that serves files from dir.
New returns a new Router.
Param returns param p for the context, or the empty string when param does not exist in context.
WithParam returns a new context with param p set to v.

# Structs

Router wraps httprouter.Router and adds support for prefixed sub-routers, per-request context injections and instrumentation.