default_context.go
func (d *DefaultContext) Bind(value interface{}) error {
	return binding.Exec(d.Request(), value)
}
func (d *DefaultContext) Bind(value interface{}) error {
	return binding.Exec(d.Request(), value)
}
func ( d * DefaultContext ) Bind ( value interface { } ) error { return binding . Exec ( d . Request ( ) , value ) }
// Bind the interface to the request.Body. The type of binding
// is dependent on the "Content-Type" for the request. If the type
// is "application/json" it will use "json.NewDecoder". If the type
// is "application/xml" it will use "xml.NewDecoder". See the
// github.com/gobuffalo/buffalo/binding package for more details.
Bind the interface to the request . Body . The type of binding is dependent on the Content - Type for the request . If the type is application / json it will use json . NewDecoder . If the type is application / xml it will use xml . NewDecoder . See the github . com / gobuffalo / buffalo / binding package for more details .