golang.org/x/mod/module.Version.Version (field)
33 uses
golang.org/x/mod/module (current package)
module.go#L124: Version string `json:",omitempty"`
module.go#L130: if m.Version == "" {
module.go#L133: return m.Path + "@" + m.Version
module.go#L147: if errors.As(err, &mErr) && mErr.Path == v.Path && mErr.Version == v.Version {
module.go#L152: Version: v.Version,
module.go#L620: vi := mi.Version
module.go#L621: vj := mj.Version
golang.org/x/mod/modfile
rule.go#L296: Mod: module.Version{Path: s, Version: v},
rule.go#L302: Mod: module.Version{Path: s, Version: v},
rule.go#L366: Old: module.Version{Path: s, Version: v},
rule.go#L367: New: module.Version{Path: ns, Version: nv},
rule.go#L742: r.Mod.Version = vers
rule.go#L761: f.Require = append(f.Require, &Require{module.Version{Path: path, Version: vers}, indirect, line})
rule.go#L768: need[r.Mod.Path] = r.Mod.Version
rule.go#L774: r.Mod.Version = v
rule.go#L838: if x.Mod.Path == path && x.Mod.Version == 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#L852: if x.Mod.Path == path && x.Mod.Version == vers {
rule.go#L862: old := module.Version{Path: oldPath, Version: oldVers}
rule.go#L863: new := module.Version{Path: newPath, Version: newVers}
rule.go#L875: if r.Old.Path == oldPath && (oldVers == "" || r.Old.Version == oldVers) {
rule.go#L899: if r.Old.Path == oldPath && r.Old.Version == oldVers {
golang.org/x/mod/zip
zip.go#L383: if vers := module.CanonicalVersion(m.Version); vers != m.Version {
zip.go#L384: return nil, CheckedFiles{}, fmt.Errorf("version %q is not canonical (should be %q)", m.Version, vers)
zip.go#L386: if err := module.Check(m.Path, m.Version); err != nil {
zip.go#L410: prefix := fmt.Sprintf("%s@%s/", m.Path, m.Version)
zip.go#L489: if vers := module.CanonicalVersion(m.Version); vers != m.Version {
zip.go#L490: return fmt.Errorf("version %q is not canonical (should be %q)", m.Version, vers)
zip.go#L492: if err := module.Check(m.Path, m.Version); err != nil {
zip.go#L505: prefix := fmt.Sprintf("%s@%s/", m.Path, m.Version)
zip.go#L636: prefix := fmt.Sprintf("%s@%s/", m.Path, m.Version)
 |
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. |