File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ require (
66 github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2
77 golang.org/x/arch v0.0.0-20201008161808-52c3e6f60cff
88 golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897
9- golang.org/x/mod v0.4.2-0.20210301144719-c8bb1bd8a2aa
9+ golang.org/x/mod v0.4.2-0.20210309222212-d6ab96f2441f
1010 golang.org/x/sys v0.0.0-20210218145245-beda7e5e158e // indirect
1111 golang.org/x/tools v0.1.1-0.20210220032852-2363391a5b2f
1212)
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPh
1414golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 h1:pLI5jrR7OSLijeIDcmRxNmw2api+jEfxLoykJVice/E =
1515golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 /go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto =
1616golang.org/x/mod v0.4.1 /go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA =
17- golang.org/x/mod v0.4.2-0.20210301144719-c8bb1bd8a2aa h1:Ci2bbuyE4ah9djFByg+fdNQcqc8DVSdcXbrWy6MBoEs =
18- golang.org/x/mod v0.4.2-0.20210301144719-c8bb1bd8a2aa /go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA =
17+ golang.org/x/mod v0.4.2-0.20210309222212-d6ab96f2441f h1:mQozKYYFIVK0MXcDB8Dvw0dR3rxKLnkSCJHWznfaodQ =
18+ golang.org/x/mod v0.4.2-0.20210309222212-d6ab96f2441f /go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA =
1919golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 /go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg =
2020golang.org/x/net v0.0.0-20190620200207-3b0461eec859 /go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s =
2121golang.org/x/net v0.0.0-20201021035429-f5854403a974 /go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU =
Original file line number Diff line number Diff line change 1+ # https://golang.org/issue/44776
2+ # The '+' character should be disallowed in module paths, but allowed in package
3+ # paths within valid modules.
4+
5+ go get -d example.net/cmd
6+ go list example.net/cmd/x++
7+
8+ ! go list -versions -m 'example.net/bad++'
9+ stderr '^go list -m: malformed module path "example.net/bad\+\+": invalid char ''\+''$'
10+
11+ # TODO(bcmills): 'go get -d example.net/cmd/x++' should also work, but currently
12+ # it does not. This might be fixed by https://golang.org/cl/297891.
13+ ! go get -d example.net/cmd/x++
14+ stderr '^go get: malformed module path "example.net/cmd/x\+\+": invalid char ''\+''$'
15+
16+ -- go.mod --
17+ module example.com/m
18+
19+ go 1.16
20+
21+ replace (
22+ example.net/cmd => ./cmd
23+ )
24+
25+ -- cmd/go.mod --
26+ module example.net/cmd
27+
28+ go 1.16
29+ -- cmd/x++/main.go --
30+ package main
31+
32+ func main() {}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ golang.org/x/arch/x86/x86asm
2828golang.org/x/crypto/ed25519
2929golang.org/x/crypto/ed25519/internal/edwards25519
3030golang.org/x/crypto/ssh/terminal
31- # golang.org/x/mod v0.4.2-0.20210301144719-c8bb1bd8a2aa
31+ # golang.org/x/mod v0.4.2-0.20210309222212-d6ab96f2441f
3232## explicit
3333golang.org/x/mod/internal/lazyregexp
3434golang.org/x/mod/modfile
You can’t perform that action at this time.
0 commit comments