Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct { Formatter string `json:"formatter"` // TemplateLibraries is a list of files containing go template definitions // that are reused in different stages of codegen. E.g. the "type" template // is needed in both the "types" and "services" stages. TemplateLibraries []string `json:"template_libraries,omitempty"` // We can generate SDKs in three modes: Packages, Types, Services // E.g. Go is Package-focused and Java is Types+Services Packages map[string]string `json:"packages,omitempty"` Types map[string]string `json:"types,omitempty"` Services map[string]string `json:"services,omitempty"` ExceptionTypes map[string]string `json:"exception_types,omitempty"` Batch map[string]string `json:"batch,omitempty"` // special case for usage example templates, that are generated // from Go SDK integration tests Examples map[string]string `json:"examples,omitempty"` Samples map[string]string `json:"samples,omitempty"` // version bumps Version map[string]string `json:"version,omitempty"` // code generation toolchain configuration Toolchain *Toolchain `json:"toolchain,omitempty"` // contains filtered or unexported fields }
func NewGenerator ¶
Click to show internal directories.
Click to hide internal directories.