Documentation ¶
Index ¶
- func NewGenerator(options map[string]string) generator.LanguageGenerator
- type Generator
- func (g *Generator) DefaultOutputDir() string
- func (g *Generator) GenerateConstants(file *os.File, name string) error
- func (g *Generator) GenerateConstantsContents(constants []*parser.Constant) error
- func (g *Generator) GenerateDependencies(dir string) error
- func (g *Generator) GenerateDocStringComment(file *os.File) error
- func (g *Generator) GenerateEnum(enum *parser.Enum) error
- func (g *Generator) GenerateEnumImports(file *os.File) error
- func (g *Generator) GenerateException(exception *parser.Struct) error
- func (g *Generator) GenerateFile(name, outputDir string, fileType generator.FileType) (*os.File, error)
- func (g *Generator) GeneratePublisher(file *os.File, scope *parser.Scope) error
- func (g *Generator) GenerateScopeImports(file *os.File, s *parser.Scope) error
- func (g *Generator) GenerateScopePackage(file *os.File, s *parser.Scope) error
- func (g *Generator) GenerateService(file *os.File, s *parser.Service) error
- func (g *Generator) GenerateServiceImports(file *os.File, s *parser.Service) error
- func (g *Generator) GenerateServicePackage(file *os.File, s *parser.Service) error
- func (g *Generator) GenerateStruct(s *parser.Struct) error
- func (g *Generator) GenerateStructImports(file *os.File) error
- func (g *Generator) GenerateSubscriber(file *os.File, scope *parser.Scope) error
- func (g *Generator) GenerateTypeDef(*parser.TypeDef) error
- func (g *Generator) GenerateUnion(union *parser.Struct) error
- func (g *Generator) GetOutputDir(dir string) string
- func (g *Generator) PostProcess(f *os.File) error
- func (g *Generator) SetupGenerator(outputDir string) error
- func (g *Generator) TeardownGenerator() error
- func (g *Generator) UseVendor() bool
- type IsSetType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGenerator ¶
func NewGenerator(options map[string]string) generator.LanguageGenerator
Types ¶
type Generator ¶
type Generator struct { *generator.BaseGenerator // contains filtered or unexported fields }
func (*Generator) DefaultOutputDir ¶
func (*Generator) GenerateConstants ¶
func (*Generator) GenerateConstantsContents ¶
func (*Generator) GenerateDependencies ¶
func (*Generator) GenerateDocStringComment ¶
func (*Generator) GenerateEnumImports ¶
func (*Generator) GenerateException ¶
func (*Generator) GenerateFile ¶
func (*Generator) GeneratePublisher ¶
func (*Generator) GenerateScopeImports ¶
func (*Generator) GenerateScopePackage ¶
func (*Generator) GenerateService ¶
func (*Generator) GenerateServiceImports ¶
func (*Generator) GenerateServicePackage ¶
func (*Generator) GenerateStructImports ¶
func (*Generator) GenerateSubscriber ¶
func (*Generator) GetOutputDir ¶
func (*Generator) SetupGenerator ¶
func (*Generator) TeardownGenerator ¶
Click to show internal directories.
Click to hide internal directories.