dep: github.com/golang/dep/gps/paths Index | Files

package paths

import "github.com/golang/dep/gps/paths"

Index

Package Files

paths.go

func IsStandardImportPath Uses

func IsStandardImportPath(path string) bool

IsStandardImportPath reports whether $GOROOT/src/path should be considered part of the standard distribution. For historical reasons we allow people to add their own code to $GOROOT instead of using $GOPATH, but we assume that code will start with a domain name (dot in the first element). This was lovingly taken from src/cmd/go/pkg.go in Go's code (isStandardImportPath).

Package paths imports 1 packages (graph) and is imported by 110 packages. Updated 2018-01-28. Refresh now. Tools for package owners.