# Functions
DirToGoPkg returns the Gopkg for the given directory if it exists under a GOPATH otherwise returns error.
GetDomainFromProject get domain information from the PROJECT file under the path.
IsGoSrcPath validate if given path is of path $GOPATH/src.
IsUnderGoSrcPath validate if given path is under path $GOPATH/src.
PathHasProjectFile validate if PROJECT file exists under the path.