bump(github.com/go-openapi/spec): 7abd5745472fff5eb3685386d5fb8bf38683154d
This commit is contained in:
3
vendor/github.com/go-openapi/swag/path.go
generated
vendored
3
vendor/github.com/go-openapi/swag/path.go
generated
vendored
@@ -47,6 +47,9 @@ func FindInGoSearchPath(pkg string) string {
|
||||
// FullGoSearchPath gets the search paths for finding packages
|
||||
func FullGoSearchPath() string {
|
||||
allPaths := os.Getenv(GOPATHKey)
|
||||
if allPaths == "" {
|
||||
allPaths = filepath.Join(os.Getenv("HOME"), "go")
|
||||
}
|
||||
if allPaths != "" {
|
||||
allPaths = strings.Join([]string{allPaths, runtime.GOROOT()}, ":")
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user