Documentation ¶
Index ¶
Constants ¶
View Source
const DoNotEditHeader = "Code generated by %v %v DO NOT EDIT."
Variables ¶
This section is empty.
Functions ¶
func DoGenerate ¶
func DoGenerate(packageNames []string, typeNames []string, mode OutputMode)
Types ¶
type FieldInfo ¶
func (*FieldInfo) OutputName ¶
type FieldSlice ¶
type FieldSlice []FieldInfo
func (FieldSlice) Len ¶
func (f FieldSlice) Len() int
func (FieldSlice) Less ¶
func (f FieldSlice) Less(i, j int) bool
func (FieldSlice) Swap ¶
func (f FieldSlice) Swap(i, j int)
type PackageGenerator ¶
type PackageGenerator struct {
// contains filtered or unexported fields
}
func (*PackageGenerator) Generate ¶
func (pg *PackageGenerator) Generate(typeNames []string, mode OutputMode)
Click to show internal directories.
Click to hide internal directories.