generator

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const BuildTag = "typemapper"

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(ssapkg *ssa.Package, comments ...string) *Generator

func (*Generator) AllFiles

func (g *Generator) AllFiles() []string

func (*Generator) GenerateMappings

func (g *Generator) GenerateMappings() error

func (*Generator) Render

func (g *Generator) Render(fileName string, w io.Writer) error

Jump to

Keyboard shortcuts

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