]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/module: fix validation for module paths ending with /v
authorBryan C. Mills <bcmills@google.com>
Wed, 5 Dec 2018 15:20:24 +0000 (10:20 -0500)
committerBryan C. Mills <bcmills@google.com>
Thu, 6 Dec 2018 20:13:22 +0000 (20:13 +0000)
commit5b48ab8881928e7a23678b93836e32f961a9dddb
treefee965593db5a2258971bdf1b472379f57b677b9
parent6ff8c1db0bb8f0d149acf0187984f29326c10d56
cmd/go/internal/module: fix validation for module paths ending with /v

Unlike "/v1", "/v" is not likely to be mistaken for a semantic import path.

Change-Id: I024647d78c79c7761b98ddeccdc7e259ca94b568
Reviewed-on: https://go-review.googlesource.com/c/152738
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/internal/module/module.go
src/cmd/go/internal/module/module_test.go