importer

package
v3.0.27 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImportInfo

type ImportInfo struct {
	Name    string
	Differs bool
}

type Importer

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

func NewImporter

func NewImporter(pkgPath string) *Importer

func (*Importer) HasImports

func (i *Importer) HasImports() bool

func (*Importer) Import

func (i *Importer) Import(name, path string) string

func (*Importer) SortedImports

func (i *Importer) SortedImports() (result []string)

Jump to

Keyboard shortcuts

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