Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GotoStruct ¶
type GotoStruct struct {
Name string
}
func (*GotoStruct) Generate ¶
func (g *GotoStruct) Generate(input io.Reader) ([]byte, error)
Func used for actual Struct generation. It must be type of io.Reader Name must be set by SetName() or on struct init.
func (*GotoStruct) SetName ¶
func (g *GotoStruct) SetName(n string)
Just quick helper for naming. @TODO - Add some validation here and return error in case of issues
Click to show internal directories.
Click to hide internal directories.