Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: go mod import package can't find out the package which include capital letter #34074

Closed
sunvim opened this issue Sep 4, 2019 · 5 comments
Closed

Comments

@sunvim
Copy link

@sunvim sunvim commented Sep 4, 2019

like title, now returned 1.12.9 version, and it's not a problem any more

What version of Go are you using (go version)?

$ go version

go 1.13

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

linux amd64 ubuntu 18.04

go env Output
$ go env

What did you do?

action: go mod tidy -v
output:
github.com/Microsoft/go-winio: cannot find module providing package github.com/Microsoft/go-winio

What did you expect to see?

Fetching https://goproxy.io/github.com/%21microsoft/go-winio/@v/list
Fetching https://goproxy.io/github.com/%21microsoft/@v/list

What did you see instead?

@bcmills

This comment has been minimized.

Copy link
Member

@bcmills bcmills commented Sep 4, 2019

Please fill out the complete issue template. What command did you run, with what source files? What did you expect to see, and what did you actually see?

@bcmills bcmills changed the title go mod import package can't find out the package which include capital letter cmd/go: go mod import package can't find out the package which include capital letter Sep 4, 2019
@sunvim

This comment has been minimized.

Copy link
Author

@sunvim sunvim commented Sep 4, 2019

Please fill out the complete issue template. What command did you run, with what source files? What did you expect to see, and what did you actually see?

update

@bcmills

This comment has been minimized.

Copy link
Member

@bcmills bcmills commented Sep 4, 2019

The module appears to be missing from goproxy.io for some reason. You'll need to take that up with the maintainers of that proxy. (Looks like probably @oiooj?)

~$ curl https://goproxy.io/github.com/%21microsoft/go-winio/@v/list
not found
~$ curl https://proxy.golang.org/github.com/%21microsoft/go-winio/@v/list
v0.1.0
v0.2.0
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.3.5
v0.3.6
v0.3.7
v0.3.8
v0.3.9
v0.4.0
v0.4.1
v0.4.10
v0.4.11
v0.4.12
v0.4.13
v0.4.14
v0.4.2
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v0.4.8
v0.4.9

Note that Go 1.13 supports fallback to direct origins for modules that are not provided by the selected proxy. If you are currently setting

GOPROXY=https://goproxy.io

then with Go 1.13 you could try setting

GOPROXY=https://goproxy.io,direct

instead.


With Go 1.12, you may need to temporarily set GOPROXY=direct long enough to populate your local cache:

GOPROXY=direct go mod tidy
@bcmills

This comment has been minimized.

Copy link
Member

@bcmills bcmills commented Sep 4, 2019

Closing, since the issue does not appear to be within the go toolchain.

@bcmills bcmills closed this Sep 4, 2019
@oiooj

This comment has been minimized.

Copy link
Member

@oiooj oiooj commented Sep 4, 2019

@sunvim Fixed, Thanks for your report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.