simple

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2018 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageResolver

type PackageResolver map[string]string

PackageResolver is a map of package path -> package name. Names are resolved from this map, and if a name doesn't exist in the map, an error is returned. Note that Guess is not a NodeResolver, so can't properly resolve identifiers in dot import packages.

func (PackageResolver) ResolvePackage

func (r PackageResolver) ResolvePackage(importPath string) (string, error)

Jump to

Keyboard shortcuts

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