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

go 1.20 #141

Merged
merged 8 commits into from
Apr 27, 2023
Merged

go 1.20 #141

merged 8 commits into from
Apr 27, 2023

Conversation

agouin
Copy link
Member

@agouin agouin commented Apr 26, 2023

Bump to go 1.20 and implement errors.Join suggestions

Resolves #136

Copy link
Member

@mark-rushakoff mark-rushakoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI errors.Join handles nil elements in its arguments correctly (by ignoring them).

The nil checks are fine to keep , since that avoids allocating / growing a slice, but it may be about as readable with an unconditional append. I'm fine either way since the erroring path is very unlikely to be a hotspot.

.github/workflows/release.yml Outdated Show resolved Hide resolved
signer/services_test.go Outdated Show resolved Hide resolved
signer/services_test.go Show resolved Hide resolved
@agouin agouin merged commit 6d2607d into main Apr 27, 2023
@agouin agouin deleted the andrew/go_1.20 branch April 27, 2023 16:14
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.

Update to go 1.20
2 participants