1234567891011121314151617181920212223242526272829303132333435 |
- package binding
- import (
- "net/http"
-
- )
- type protobufBinding struct{}
- func (protobufBinding) Name() string {
- return "protobuf"
- }
- func (protobufBinding) Bind(req *http.Request, obj interface{}) error {
-
- return validate(obj)
- }
|