generator

package
v0.0.0-...-e1330b0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllPackages = []string{}/* 166 elements not displayed */

AllPackages contains a manually created list of all packages see https://pkg.go.dev/std find /home/jon/.asdf/installs/golang/1.18beta2/go/src/ -type d |cut -d / -f 10- |grep -v cmd |grep -v testdat |grep -v internal |grep -v vendor |grep -v builtin

Functions

func ShortName

func ShortName(pkg string) string

Types

type Package

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

func New

func New(packagePath, outputPackageName string, globalMode bool) (*Package, error)

func (*Package) ShortName

func (p *Package) ShortName() string

func (*Package) Write

func (p *Package) Write(w io.Writer) error

Jump to

Keyboard shortcuts

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