Skip to content

Update minimum supported Go version to 1.18#90

Merged
tklauser merged 5 commits intomainfrom
new-go
Dec 1, 2023
Merged

Update minimum supported Go version to 1.18#90
tklauser merged 5 commits intomainfrom
new-go

Conversation

@tklauser
Copy link
Owner

@tklauser tklauser commented Dec 1, 2023

...and some small drive-by fixes and refactoring.

Also add a TODO comment to switch to sync.OnceValue once Go 1.21 is the
oldest supported version.
This allows to e.g. use strings.Cut and drop io/ioutil usage.
Also make the skip condition on the first line explicit.
It's deprecated as of Go 1.16.
@tklauser tklauser merged commit 9348306 into main Dec 1, 2023
@tklauser tklauser deleted the new-go branch December 1, 2023 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant