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

build: update go directive in go.mod to 1.17 #820

Merged
merged 1 commit into from
Oct 15, 2022
Merged

build: update go directive in go.mod to 1.17 #820

merged 1 commit into from
Oct 15, 2022

Conversation

Juneezee
Copy link
Contributor

@Juneezee Juneezee commented Oct 6, 2022

This PR updates the go directive in go.mod file by running go mod tidy -go=1.17. We have already dropped support for Go 1.16 (which is in end-of-life now) since b5e3e92.

This also enables module graph pruning and lazy module loading for people who use this package in their code.

Note: The additional require directive is used to record indirect dependencies for Go 1.17 or higher, see https://go.dev/ref/mod#go-mod-file-go.

This commit enables support for module graph pruning and lazy module
loading for projects that are at Go 1.17 or higher.

Reference: https://go.dev/ref/mod#go-mod-file-go
Reference: https://go.dev/ref/mod#graph-pruning
Reference: https://go.dev/ref/mod#lazy-loading
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 57.91% when pulling 0d539f4 on Juneezee:go1.17 into 37a9174 on golang-migrate:master.

@dhui dhui mentioned this pull request Oct 15, 2022
@dhui dhui merged commit 1d0b934 into golang-migrate:master Oct 15, 2022
@dhui
Copy link
Member

dhui commented Oct 15, 2022

Thanks for the PR!

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

Successfully merging this pull request may close these issues.

3 participants