Documentation
¶
Index ¶
- Constants
- func Clear()
- func Load(path string) *types.Package
- func Lookup[T types.Type](p Package, name string) (T, bool)
- func LookupByPath[T types.Type](path, name string) (T, bool)
- func MustLookup[T types.Type](p Package, name string) T
- func MustLookupByPath[T types.Type](path, name string) T
- func Unwrap(w string) string
- func Wrap(p string) string
- type Package
Constants ¶
View Source
const DefaultLoadMode = packages.LoadMode(0b11111111111111111)
Variables ¶
This section is empty.
Functions ¶
func MustLookupByPath ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.