Skip to content

why freeze the patch number of the go version #286

@zjykzk

Description

@zjykzk

since the version of the golang is 1.21.0, if the version specified in the go.work is not 1.21.0, it will report some error like following:

level=error msg="Running error: context loading failed: failed to load packages: failed to load with go/packages: err: exit status 1: stderr: go: module .xxx listed in go.work file requires go >= 1.21.0, but go.work lists go 1.21; 

can the version ignore the patch number?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions