load

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkSym

type LinkSym struct {
	Kind     ast.ObjKind
	PkgPath  string
	Name     string
	Linkname Linkname
}

func ParseLinkname

func ParseLinkname(fset *token.FileSet, pkgPath string, files []*ast.File) ([]*LinkSym, error)

ParseLinkname parse ast files go:linkname //go:linkname <localname> <importpath>.<name> //go:linkname <localname> <importpath>.<type>.<name> //go:linkname <localname> <importpath>.<(*type)>.<name> //go:linkname <localname> linkname indicate by runtime package

func (*LinkSym) String

func (l *LinkSym) String() string

type Linkname

type Linkname struct {
	PkgPath string
	Name    string
	Recv    string
	Method  string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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