Documentation ¶
Index ¶
- type Enum
- func (e *Enum) ConstName(value string) codegen.Snippet
- func (e *Enum) ConstUnknown() codegen.Snippet
- func (e *Enum) TextMarshalerAndTextUnmarshaler(file *codegen.File)
- func (e *Enum) TextScanAndValuer(file *codegen.File)
- func (e *Enum) VarInvalidError() codegen.Snippet
- func (e *Enum) WriteErrors(file *codegen.File)
- func (e *Enum) WriteInt(file *codegen.File)
- func (e *Enum) WriteLabelStringParser(file *codegen.File)
- func (e *Enum) WriteLabeler(file *codegen.File)
- func (e *Enum) WriteStringParser(file *codegen.File)
- func (e *Enum) WriteStringer(file *codegen.File)
- func (e *Enum) WriteToFile(file *codegen.File)
- func (e *Enum) WriteTypeNameAndConstValues(file *codegen.File)
- type Generator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Enum ¶
func (*Enum) ConstUnknown ¶
func (*Enum) TextMarshalerAndTextUnmarshaler ¶
func (*Enum) TextScanAndValuer ¶
func (*Enum) VarInvalidError ¶
func (*Enum) WriteErrors ¶
func (*Enum) WriteLabelStringParser ¶
func (*Enum) WriteLabeler ¶
func (*Enum) WriteStringParser ¶
func (*Enum) WriteStringer ¶
func (*Enum) WriteToFile ¶
func (*Enum) WriteTypeNameAndConstValues ¶
type Generator ¶ added in v1.3.0
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶ added in v1.3.0
Click to show internal directories.
Click to hide internal directories.