go/ast.ImportSpec.Path (field)
21 uses
go/ast (current package)
ast.go#L897: Path *BasicLit // import path
ast.go#L930: return s.Path.Pos()
ast.go#L939: return s.Path.End()
filter.go#L463: if path := imp.Path.Value; !seen[path] {
import.go#L60: t, err := strconv.Unquote(s.(*ImportSpec).Path.Value)
import.go#L208: s.Path.ValuePos = pos[i].Start
resolve.go#L116: path, _ := strconv.Unquote(spec.Path.Value)
resolve.go#L119: p.errorf(spec.Path.Pos(), "could not import %s (%s)", path, err)
scope.go#L105: return d.Path.Pos()
walk.go#L306: Walk(v, n.Path)
go/build
read.go#L457: quoted := spec.Path.Value
go/doc
example.go#L276: p, err := strconv.Unquote(s.Path.Value)
example.go#L349: s := &ast.ImportSpec{Path: &ast.BasicLit{Value: strconv.Quote(p)}}
reader.go#L568: if import_, err := strconv.Unquote(s.Path.Value); err == nil {
go/parser
parser.go#L2534: Path: &ast.BasicLit{ValuePos: pos, Kind: token.STRING, Value: path},
go/printer
nodes.go#L1626: p.expr(sanitizeImportPath(s.Path))
go/types
resolver.go#L256: path, err := validatedImportPath(d.spec.Path.Value)
resolver.go#L258: check.errorf(d.spec.Path, _BadImportPath, "invalid import path (%s)", err)
resolver.go#L262: imp := check.importPackage(d.spec.Path, path, fileDir)
golang.org/x/tools/go/packages
golist_overlay.go#L395: quotedPath := imp.Path.Value
packages.go#L1068: if imp.Path.Value == `"C"` {