Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGenerator ¶
NewGenerator creates a generator for Go.
Types ¶
type Params ¶
type Params struct {
GoPackage string
}
Params are parameters for creating a Generator
type TmplData ¶
type TmplData struct { *types.BaseTmplData GoPackage string }
TmplData contains the Golang-specific data and the base data for the codegen.
func (*TmplData) BaseTmplDataInfo ¶
func (td *TmplData) BaseTmplDataInfo() *types.BaseTmplData
BaseTmplDataInfo provides the base template data for the codegen.
Click to show internal directories.
Click to hide internal directories.