func golang.org/x/mod/modfile.AutoQuote
12 uses
golang.org/x/mod/modfile (current package)
rule.go#L102: Syntax: f.Syntax.addLine(nil, "module", AutoQuote(path)),
rule.go#L106: f.Syntax.updateLine(f.Module.Syntax, "module", AutoQuote(path))
rule.go#L487: func AutoQuote(s string) string {
rule.go#L554: *s = AutoQuote(t)
rule.go#L743: f.Syntax.updateLine(r.Syntax, "require", AutoQuote(path), vers)
rule.go#L759: line := f.Syntax.addLine(nil, "require", AutoQuote(path), vers)
rule.go#L846: f.Exclude = append(f.Exclude, &Exclude{Mod: module.Version{Path: path, Version: vers}, Syntax: f.Syntax.addLine(hint, "exclude", AutoQuote(path), vers)})
rule.go#L864: tokens := []string{"replace", AutoQuote(oldPath)}
rule.go#L868: tokens = append(tokens, "=>", AutoQuote(newPath))
rule.go#L912: r.Syntax = f.Syntax.addLine(nil, "retract", AutoQuote(vi.Low))
rule.go#L914: r.Syntax = f.Syntax.addLine(nil, "retract", "[", AutoQuote(vi.Low), ",", AutoQuote(vi.High), "]")
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |