From fd2b25bb08063ed7deb09757374a260dba22ee5a Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 2 Jun 2018 05:41:39 +0700 Subject: Add common option "-V, --vendor" to work with vendor directory --- package_git.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package_git.go') diff --git a/package_git.go b/package_git.go index 1f6d52d..ba50235 100644 --- a/package_git.go +++ b/package_git.go @@ -57,7 +57,7 @@ func (pkg *Package) gitCheckoutVersion(version string) (err error) { } // -// gitClone the package into "$GOPATH/src/{ImportPath}". +// gitClone the package into "{prefix}/src/{ImportPath}". // If destination directory is not empty it will return an error. // func (pkg *Package) gitClone() (err error) { @@ -238,7 +238,7 @@ func (pkg *Package) gitGetTagLatest() (tag string, err error) { } // -// gitInstall the package into GOPATH source directory. +// gitInstall the package into source directory. // func (pkg *Package) gitInstall() (err error) { err = pkg.gitClone() -- cgit v1.3-6-g1900