Schema is an interface that knows how to validate an API object serialized to a byte array.
| 30 | |
| 31 | // Schema is an interface that knows how to validate an API object serialized to a byte array. |
| 32 | type Schema interface { |
| 33 | ValidateBytes(data []byte) error |
| 34 | } |
| 35 | |
| 36 | // NullSchema always validates bytes. |
| 37 | type NullSchema struct{} |
no outgoing calls
no test coverage detected
searching dependent graphs…