golang.org/x/mod/modfile.Replace.Old (field)
11 uses
golang.org/x/mod/modfile (current package)
rule.go#L75: Old module.Version
rule.go#L366: Old: module.Version{Path: s, Version: v},
rule.go#L698: if r.Old.Path != "" {
rule.go#L875: if r.Old.Path == oldPath && (oldVers == "" || r.Old.Version == oldVers) {
rule.go#L887: if r.Old.Path == oldPath {
rule.go#L892: f.Replace = append(f.Replace, &Replace{Old: old, New: new, Syntax: f.Syntax.addLine(hint, tokens...)})
rule.go#L899: if r.Old.Path == oldPath && r.Old.Version == oldVers {
rule.go#L989: if haveReplace[x.Old] {
rule.go#L993: haveReplace[x.Old] = true
![]() |
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. |