Skip to content

Update minimum Go version to 1.18 #146

Open
@Zerpet

Description

@Zerpet

At the moment of this writing, supported Go version are 1.18 and 1.19. Golang has a support policy of N-1. From their docs:

Each major Go release is supported until there are two newer major releases.

One benefit of playing this story is a reduced go.sum file, which in turn will "fix" CVEs in security scanners. Note these scanners would report CVEs in old EOL'ed Go versions, the client library code is fine.

In Go 1.18 we can also replace interface{} with any, and explore the option of using generic functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions