export

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2026 License: Apache-2.0 Imports: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const EmptyPackage = "empty package"

Variables

View Source
var Cmd = &base.Command{
	UsageLine: "ixgo export [flags] [package]",
	Short:     "export Go package to ixgo builtin package",
}

Cmd - ixgo build

Functions

func Export

func Export(pkgs []string, ctxList []*build.Context) error

func ExportPkg

func ExportPkg(prog *Program, pkg string, ctx *build.Context) (string, error)

func ExportPkgs

func ExportPkgs(pkgs []string, ctx *build.Context) error

Types

type Alias added in v1.0.7

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

func NewAlias added in v1.0.7

func NewAlias() *Alias

type Package

type Package struct {
	Name       string
	Path       string
	Deps       []string
	NamedTypes []string
	Interfaces []string
	AliasTypes []string
	Vars       []string
	Funcs      []string

	Consts        []string
	TypedConsts   []string
	UntypedConsts []string
	Links         []string
	Alias         []string
	Source        string

	TypesData []byte
	AliasInit string
	// contains filtered or unexported fields
}

func (*Package) IsEmpty

func (p *Package) IsEmpty() bool

type Program

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

func NewProgram

func NewProgram(ctx *build.Context) *Program

func (*Program) DumpDeps

func (p *Program) DumpDeps(path string)

func (*Program) DumpExport

func (p *Program) DumpExport(path string)

func (*Program) ExportPkg

func (p *Program) ExportPkg(path string, sname string) (*Package, error)

func (*Program) ExportSource

func (p *Program) ExportSource(e *Package, info *loader.PackageInfo) error

func (*Program) Load

func (p *Program) Load(pkgs []string) error

Jump to

Keyboard shortcuts

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