Documentation ¶
Index ¶
- type Witness
- func (witness *Witness) FromAssignment(assignment interface{}, leafType reflect.Type, publicOnly bool) (*schema.Schema, error)
- func (witness *Witness) Len() int
- func (witness *Witness) ReadFrom(r io.Reader) (int64, error)
- func (witness *Witness) String() string
- func (witness *Witness) ToAssignment(assignment interface{}, leafType reflect.Type, publicOnly bool)
- func (witness *Witness) Type() reflect.Type
- func (witness *Witness) WriteTo(w io.Writer) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Witness ¶
func (*Witness) FromAssignment ¶ added in v0.6.1
func (witness *Witness) FromAssignment(assignment interface{}, leafType reflect.Type, publicOnly bool) (*schema.Schema, error)
FromAssignment extracts the witness and its schema
Click to show internal directories.
Click to hide internal directories.