golang

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 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 Importer

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

func NewImporter

func NewImporter() *Importer

func (*Importer) GOPATH added in v0.0.3

func (this *Importer) GOPATH() string

func (*Importer) GOROOT added in v0.1.0

func (this *Importer) GOROOT() string

func (*Importer) ImportDir

func (this *Importer) ImportDir(dir string, names []string) (*Package, error)

func (*Importer) IsGoroot added in v0.0.3

func (this *Importer) IsGoroot(path string) bool

func (*Importer) ModulePath added in v0.0.3

func (this *Importer) ModulePath(buf []byte) string

type Package

type Package = golang.Package

func NewPackage

func NewPackage(in *build.Package, err error) (*Package, error)

Jump to

Keyboard shortcuts

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