Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContextState = "state" ContextCommonOptions = "options" ContextGeneratorOptions = "generatorOptions" )
Context key values
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DescriptionMarkdown ¶
type DescriptionMarkdown interface {
DescriptionMarkdown() string
}
DescriptionMarkdown simply allows for getting markdown text.
type State ¶
type State struct {
// contains filtered or unexported fields
}
State is a shared state for an entire code generation process. TODO make it threadsafe if needed
func (*State) PackageAlias ¶
SpecData returns the specification data.
func (*State) PackageAliases ¶
SetSpecData sets specification data.
func (*State) SetSpecData ¶
SetSpecData sets specification data.
Click to show internal directories.
Click to hide internal directories.