Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateCommand ¶
type GenerateCommand struct { GenerateToCommand // PackagePath path of parsed package PackagePath string // DestinationPath path of destination for generated files DestinationPath string // GeneratedFileName name of generated file GeneratedFileName string }
GenerateCommand ...
type GenerateToCommand ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func (*Generator) Generate ¶
func (g *Generator) Generate(cmd GenerateCommand) error
func (*Generator) GenerateTo ¶
func (g *Generator) GenerateTo(cmd GenerateToCommand, w io.Writer) error
Click to show internal directories.
Click to hide internal directories.