gen

package
v0.0.0-...-761494b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SliceContains

func SliceContains(slice []string, item string) bool

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL