Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Enum ¶
type Enum struct { PkgPath string Name string Options []EnumOption // contains filtered or unexported fields }
func NewEnum ¶
func NewEnum(pkgPath, enumName string, options []EnumOption) *Enum
func (*Enum) EnumCodeId ¶
func (enum *Enum) EnumCodeId(option EnumOption) string
type EnumGenerator ¶
type EnumGenerator struct {
// contains filtered or unexported fields
}
func (*EnumGenerator) Scan ¶
func (gen *EnumGenerator) Scan(enumNames ...string)
func (*EnumGenerator) WriteToFile ¶
func (gen *EnumGenerator) WriteToFile()
type EnumOption ¶
type EnumScanner ¶
type EnumScanner struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.