Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Generators = make([]Generator, 0)
)
Functions ¶
Types ¶
type Block ¶
type Block struct { Type BlockType Name string Label string JSONName string TypeName string ReferenceName string ReferenceJSONTags []string Definition BlockDefinition }
Block is the building block(s) of types
type BlockDefinition ¶
type Generator ¶
type Generator interface { Generate(definition *TypeDefinition, writer Writer) error Initialize(definition *TypeDefinition, writer Writer) error }
type TypeDefinition ¶
func NewTypeDefinition ¶
func NewTypeDefinition(itemType Type, args []string) (*TypeDefinition, error)
Click to show internal directories.
Click to hide internal directories.