Last updated 4 years ago
Was this helpful?
The bind hook is the hook called to bind the incoming request body to the input structure provided in your handler.
A bind hook must have this signature:
type BindHook func(w http.ResponseWriter, r *http.Request, in interface{}) error
Check out the default .
Check out the signature of the .