cmd/go/internal/modfile: allow module path contains non-final version element

We need to be compatible with existing module path which contains
non-final version element. Like: gonum.org/v1/gonum/stat

Fixes golang/go#23960

Change-Id: Iff4aad8ce98809771e74f8824dca0db753646818
Reviewed-on: https://go-review.googlesource.com/114435
Reviewed-by: Russ Cox <rsc@golang.org>
1 file changed
tree: b7f93f6d4553951f59d3ec1c4fe4cf33ff853840
  1. vendor/
  2. AUTHORS
  3. codereview.cfg
  4. CONTRIBUTING.md
  5. CONTRIBUTORS
  6. LICENSE
  7. main.go
  8. PATENTS
  9. README.md
README.md

Versioned Go Prototype (vgo)

This repository holds a prototype of what the go command might look like with integrated support for package versioning.

See research.swtch.com/vgo for documents about the design.

Download/Install

Use go get -u golang.org/x/vgo.

You can also manually git clone the repository to $GOPATH/src/golang.org/x/vgo.

Report Issues / Send Patches

See CONTRIBUTING.md.

This is still a very early prototype. You are likely to run into bugs. Please file bugs in the main Go issue tracker, golang.org/issue, and put the prefix x/vgo: in the issue title.

Thank you.