gen

package
v0.0.0-...-7ffcd3c Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: GPL-3.0 Imports: 17 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(d bool) error

Jump to

Keyboard shortcuts

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