Documentation ¶
Index ¶
- type NewSchemaT
- type Schema
- func (_m *Schema) AddRule(name string, _a1 schema.Rule) error
- func (_m *Schema) AddType(name string, _a1 schema.Schema) error
- func (_m *Schema) Check() error
- func (_m *Schema) Example() ([]byte, error)
- func (_m *Schema) GetAST() (schema.ASTNode, error)
- func (_m *Schema) Len() (uint, error)
- func (_m *Schema) UsedUserTypes() ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewSchemaT ¶
type Schema ¶
Schema is an autogenerated mock type for the Schema type
func NewSchema ¶
func NewSchema(t NewSchemaT) *Schema
NewSchema creates a new instance of Schema. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Schema) UsedUserTypes ¶
UsedUserTypes provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.