Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update minimum supported Go version to 1.18 #90

Merged
merged 5 commits into from
Dec 1, 2023
Merged

Update minimum supported Go version to 1.18 #90

merged 5 commits into from
Dec 1, 2023

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
18 checks passed
@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.

None yet

1 participant