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

upgrade: go version 1.18 #14

Merged
merged 1 commit into from
Nov 11, 2022
Merged

upgrade: go version 1.18 #14

merged 1 commit into from
Nov 11, 2022

Conversation

zouyonghe
Copy link
Contributor

When using go mod tidy in go version 1.17, a problem occurred.

Log:
github.com/bykof/go-plantuml/astParser tested by
github.com/bykof/go-plantuml/astParser.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v3 tested by
gopkg.in/yaml.v3.test imports
gopkg.in/check.v1 loaded from gopkg.in/check.v1@v0.0.0-20161208181325-20d25e280405,
but go 1.16 would select v1.0.0-20190902080502-41f04d3bba15

To upgrade to the versions selected by go 1.16:
go mod tidy -go=1.16 && go mod tidy -go=1.17
If reproducibility with go 1.16 is not needed:
go mod tidy -compat=1.17
For other options, see:
https://golang.org/doc/modules/pruning

Solve:
Upgrade go version to 1.18.

@bykof bykof merged commit f840d50 into bykof:master Nov 11, 2022
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.

2 participants