We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Serves as a general tracking issue for clean ups I'd like to investigate when I have time, now that 1.20 and 1.21 have new features.
1.21:
min
max
math.Max
math.Min
slices
golang.org/x/exp/slices
OnceFunc
OnceValue
OnceValues
sync.Once
error
1.20:
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open for 60 days with no activity.
Sorry, something went wrong.
Not going to switch the sync.Once uses over, as the overall readability didn't improve too much. Can re-visit later if needed
spencerschrock
No branches or pull requests
Serves as a general tracking issue for clean ups I'd like to investigate when I have time, now that 1.20 and 1.21 have new features.
1.21:
min
,max
built-insmath.Max
ormath.Min
in 1-2 places, but could replace thatslices
package can replace our use ofgolang.org/x/exp/slices
OnceFunc
,OnceValue
andOnceValues
could replace some of client handlers.sync.Once
and save the response, as well as anerror
1.20:
The text was updated successfully, but these errors were encountered: