Skip to content

Minimun Go version for library consumers #205

@ldez

Description

@ldez

Since go1.21, the Go version used inside the go.mod is the minimum Go version, and it's a hard requirement.

As softlayer-go is a library, each time you update the minimum Go version, you are forcing all the library consumers to update their minimum Go version.

A library should avoid doing that.

The minimum Go version defines the version of the language used to write the code.

The Go version inside toolchain defines the Go version used to compile a binary (softlayer-go doesn't have main package, so it's useless in this context) or run the tests, and doesn't affect lib consumers.

The Go team maintains the 2 latest minor versions: currently go1.24 and go1.25.
I can understand an update to min go1.24, even though there is no code requirement, but go1.25 seems inappropriate for a library.

Could you downgrade the minimum Go version to at least go1.24?

Related to #203

Metadata

Metadata

Labels

dependenciesPull requests that update a dependency file

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions