codegen

package
v0.0.0-...-944d3fe Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: Zlib Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArchARM64 = "arm64"
	ArchAMD64 = "amd64"
)

Variables

View Source
var ValidArchitectures = map[string]struct{}{
	ArchARM64: {},
	ArchAMD64: {},
}

Functions

func Run

func Run(pkgPath string, archList []string) error

Types

type Argument

type Argument struct {
	Name string
	Type types.Type
}

type Function

type Function struct {
	Name       string
	Args       []Argument
	ReturnType types.Type
	Signature  string
}

Jump to

Keyboard shortcuts

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