pkgdata

package
v1.0.24 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WritePkgData

func WritePkgData(pkgPath string, pkgData *PackageData) error

Types

type ConstInfo

type ConstInfo struct {
	Type    string // t=xx
	Untyped bool   // no 'e='(explicit) flag
}

type PackageData

type PackageData struct {
	Vars   map[string]bool
	Consts map[string]*ConstInfo
	Funcs  map[string]bool
}

func GetPkgData

func GetPkgData(pkgPath string) *PackageData

type Section

type Section int
const (
	Section_Func  Section = 1
	Section_Var   Section = 2
	Section_Const Section = 3
)

Jump to

Keyboard shortcuts

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