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.gogen.goschema.gotl_gen_enums.gotl_gen_init.gotl_gen_interfaces.gotl_gen_methods.gotl_gen_structs.goutils.go Click to show internal directories. Click to hide internal directories.