Skip to content

Update to require go 1.24 and modernize code#773

Merged
fxamacker merged 4 commits into
masterfrom
fxamacker/bump-min-go-version-to-124
May 10, 2026
Merged

Update to require go 1.24 and modernize code#773
fxamacker merged 4 commits into
masterfrom
fxamacker/bump-min-go-version-to-124

Conversation

@fxamacker

Copy link
Copy Markdown
Owner

This PR bumps requirement from go 1.20 to go 1.24 and updates the code to use more modern coding standards.

The bump to go 1.24 removes the need to maintain separate files:

  • omitzero_go124.go
  • omitzero_pre_go124.go

This PR does not affect behavior of the codec.

fxamacker added 3 commits May 10, 2026 11:19
This change does not affect behavior of the codec. This is
to make the code use more modern coding standards.

The bump to go 1.24 removes the need to maintain separate files:
- omitzero_go124.go
- omitzero_pre_go124.go
@fxamacker fxamacker self-assigned this May 10, 2026
@fxamacker fxamacker added the improvement improvement that does not add new feature label May 10, 2026
@fxamacker fxamacker changed the title Bump required go version to 124 and modernize code Bump required go version to 1.24 and modernize code May 10, 2026
@fxamacker fxamacker changed the title Bump required go version to 1.24 and modernize code Update to require go 1.24 and modernize code May 10, 2026
Comment thread encode.go Outdated
Comment thread decode.go Outdated
@fxamacker fxamacker merged commit e214fc0 into master May 10, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement improvement that does not add new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants