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: Update Go version to 1.17 #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

go: Update Go version to 1.17 #18

wants to merge 1 commit into from

Conversation

110y
Copy link

@110y 110y commented Oct 20, 2021

  • Just execute go mod tidy -go=1.17 under the go directory.
    • Go versions older than 1.16 are not supported version.

@110y 110y changed the title go: go mod tidy -go=1.17 go: Update Go version to 1.17 Oct 20, 2021
)

require (
golang.org/x/net v0.0.0-20190311183353-d8887717615a // indirect
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://golang.org/doc/go1.17#go-command

For the go command to correctly resolve transitive imports using the pruned module graph, the go.mod file for each module needs to include more detail about the transitive dependencies relevant to that module. If a module specifies go 1.17 or higher in its go.mod file, its go.mod file now contains an explicit require directive for every module that provides a transitively-imported package. (In previous versions, the go.mod file typically only included explicit requirements for directly-imported packages.)

@sergiitk sergiitk mentioned this pull request Nov 21, 2023
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.

1 participant