pkg

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OutputLocFlag *gcgen.OutputLocVal

	TypeListFlag *gcgen.TypeListVal

	GenericsFlag *gcgen.GenericsSignVal

	// TypeName is the name of the linked stack.
	TypeName *string
)
View Source
var (
	// Generator is the code Generator.
	Generator *gcgen.CodeGenerator[*GenData]
)
View Source
var (
	// Logger is the logger to use.
	Logger *log.Logger
)

Functions

func ParseFlags

func ParseFlags() (string, string, error)

Types

type GenData

type GenData struct {
	PackageName  string
	Dependencies []string
	StringFunc   string

	TypeName   string
	TypeSig    string
	HelperSig  string
	HelperName string
	Generics   string
	DataType   string
	ZeroValue  string
}

func (*GenData) SetPackageName

func (g *GenData) SetPackageName(name string)

Jump to

Keyboard shortcuts

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