package middleware import "net/http" // Middleware is a function that is meant to be chained with other functions // through an http request lifecycle type Middleware func(http.Handler) http.Handler