Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssertToFunc ¶
type E ¶
type E interface {
Value() interface{}
ToAssert(ats []*strategy.Archetype) (AssertToFunc, error)
}
Elements can be turned into assert functions that can test wether an other elements meet the exptation(s)
type Element ¶
type Element struct {
// contains filtered or unexported fields
}
Element represents a value in a table that can converted to an assert
func NewElement ¶
func NewElement(val interface{}) *Element
type JSON ¶
type JSON struct {
// contains filtered or unexported fields
}
For parsing byte arrays that are known to be JSON encoded
type JSONT ¶
type JSONT struct {
// contains filtered or unexported fields
}
A table of values that are mapped using json paths (e.g 0.name.full_name)
type Plain ¶
type Plain struct {
// contains filtered or unexported fields
}
For parsing byte arrays that just hold plain text but will ignore trailing whitespace as defined by unicode
Click to show internal directories.
Click to hide internal directories.