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

go compiler doesn't catch some errors #30

Open
arp242 opened this issue Jan 8, 2020 · 0 comments
Open

go compiler doesn't catch some errors #30

arp242 opened this issue Jan 8, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@arp242
Copy link
Owner

arp242 commented Jan 8, 2020

For example:

:!go install  zgo.at/goatcounter/cmd/goatcounter ./cmd/goatcounter/ 2>&1| tee /tmp/vsJ7OHh/29
build zgo.at/goatcounter/cmd/goatcounter: cannot load zgo.at/goatcounter/stripe: module zgo.at/goatcounter/stripe: Get https://proxy.golang.org/zgo.at/goatcounter/stripe/@v/list: dial tcp: lookup proxy.golang.org: Temporary failure in name resolution

Another one I've run in to a few times is a module without go.mod:

$ go build
# _/home/martin/n
runtime.main_main·f: function main is undeclared in the main package
# a
runtime.main_main·f: function main is undeclared in the main package
go: finding zgo.at/goatcounter/stripe latest
go: zgo.at/goatcounter/[email protected]: parsing go.mod: unexpected module path "zgo.at/goatcounter"
go: error loading module requirements
@arp242 arp242 added the bug Something isn't working label Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant