rpc-endpoint icon indicating copy to clipboard operation
rpc-endpoint copied to clipboard

refactor: use the built-in max/min to simplify the code

Open evenevent opened this issue 10 months ago • 0 comments

📝 Summary

Use the built-in max/min from the standard library in Go 1.21 to simplify the code. https://pkg.go.dev/[email protected]#max

⛱ Motivation and Context

📚 References


✅ I have run these commands

  • [ ] make lint
  • [ ] make test
  • [ ] go mod tidy

evenevent avatar Mar 27 '25 09:03 evenevent