Skip to content

go v1.16 - build fails #13

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

Closed
burningalchemist opened this issue Mar 2, 2021 · 1 comment
Closed

go v1.16 - build fails #13

burningalchemist opened this issue Mar 2, 2021 · 1 comment
Labels

Comments

@burningalchemist
Copy link
Owner

burningalchemist commented Mar 2, 2021

Running make build with Go v1.16 on master branch results in error:

>> building binaries
 >   sql_exporter
../../../go/pkg/mod/github.com/jackc/[email protected]/auth_scram.go:27:2: missing go.sum entry for module
providing package golang.org/x/xerrors (imported by github.com/jackc/pgx/v4/stdlib); to add:
	go get github.com/jackc/pgx/v4/[email protected]

There are some changes in the latest release of Go, but executing go mod tidy should fix go.sum file.
The code builds properly afterwards. 👍

Golang Github - Issue 44129
Golang Blog - Module Changes

@burningalchemist
Copy link
Owner Author

Fixed in master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant