Documentation ¶ Index ¶ type Generator func NewGenerator(tlschema *tlparser.Schema, licenseHeader, outdir string) (*Generator, error) func (g *Generator) Generate() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Generator ¶ type Generator struct { // название пакета. используется ТОЛЬКО для тестов PackageName string // заголовок лицензии PackageHeader string // contains filtered or unexported fields } func NewGenerator ¶ func NewGenerator(tlschema *tlparser.Schema, licenseHeader, outdir string) (*Generator, error) func (*Generator) Generate ¶ func (g *Generator) Generate() error Source Files ¶ View all Source files common.go gen.go schema.go tl_gen_enums.go tl_gen_init.go tl_gen_interfaces.go tl_gen_methods.go tl_gen_structs.go utils.go Click to show internal directories. Click to hide internal directories.