GoWeb/middleware/groups.go

6 lines
157 B
Go
Raw Normal View History

package middleware
import "net/http"
type MiddlewareFunc func(f func(w http.ResponseWriter, r *http.Request)) func(w http.ResponseWriter, r *http.Request)