rpc-endpoint
rpc-endpoint copied to clipboard
refactor: use the built-in max/min to simplify the code
📝 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