Skip to content

x/website: Mention specifically that minor version is not allowed in Go directives #43262

@sagar-jadhav

Description

@sagar-jadhav

I was trying out Go modules and find out that If I specify 1.15.4 instead of 1.15 my build failed with the following error:

invalid go version '1.15.4': must match format 1.23

I referred to this documentation https://golang.org/ref/mod#go-mod-file-go. I think it will be better If we also recommend not to use the minor version or give examples of the wrong values for better understanding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions