Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirToGoPkg ¶
DirToGoPkg returns the Gopkg for the given directory if it exists under a GOPATH otherwise returns error. For example, /Users/x/go/src/github.com/y/z ==> github.com/y/z
func GetDomainFromProject ¶
GetDomainFromProject get domain information from the PROJECT file under the path.
func IsGoSrcPath ¶
IsGoSrcPath validate if given path is of path $GOPATH/src.
func IsUnderGoSrcPath ¶
IsUnderGoSrcPath validate if given path is under path $GOPATH/src.
func PathHasProjectFile ¶
PathHasProjectFile validate if PROJECT file exists under the path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.