Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotFound = fmt.Errorf("not on GOPATH")
Functions ¶
func Dir2Import ¶
Dir2Import takes an *absolute* path and returns a golang import path for the package, and returns an error if it isn't on the gopath
func MustDir2Import ¶
MustDir2Import takes an *absolute* path and returns a golang import path for the package, and panics if it isn't on the gopath
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.