Skip to content

Minimum go version should be 1.21 #577

@connorwstein

Description

@connorwstein

Readme says minimum go version is 1.0, but with Go 1.20 go build throws:

invalid go version '1.22.0': must match format 1.23

because the go.work file has a patch version. Upgrading to 1.21 works. From https://go.dev/doc/go1.21:

To improve forwards compatibility, Go 1.21 now reads the go line in a go.work or go.mod file as a strict minimum requirement: go 1.21.0 means that the workspace or module cannot be used with Go 1.20 or with Go 1.21rc1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions