Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnexpectedAST = errors.New("unexpected AST") ErrSpec = errors.New("specification error") )
View Source
var ErrRegexMismatch = errors.New("regex mismatch")
Functions ¶
This section is empty.
Types ¶
type Directive ¶
type Directive interface{}
Directive indicates how to handle a given target field on a struct.
type IgnoreDirective ¶
type IgnoreDirective struct {
Target Target
}
type JuryrigSpec ¶
func Read ¶
func Read(filename string) (JuryrigSpec, error)
Read parses Go source into Mapper definitions.
type LinkDirective ¶
type LinkFuncDirective ¶
type Mapper ¶
type Mapper struct { Name string MapperFunctions []MapperFunction }
type MapperFunction ¶
Click to show internal directories.
Click to hide internal directories.