loader

package
v0.0.0-...-fd45be6 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Package

type Package struct {
	*packages.Package

	sync.Mutex
	// contains filtered or unexported fields
}

func LoadRoots

func LoadRoots(rootPaths ...string) ([]*Package, error)

func LoadRootsWithConfig

func LoadRootsWithConfig(conf *packages.Config, roots ...string) ([]*Package, error)

func (*Package) Imports

func (p *Package) Imports() map[string]*Package

Jump to

Keyboard shortcuts

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