Files
tasks/common/persistence/sql/sqlplugin
Stephan BehnkeandGitHub c52e796b99 Use builtin min/max (#4901)
<!-- Describe what has changed in this PR -->
**What changed?**

Removed the custom utility functions `Min` & `Max` and replaced them
with the new builtin functions. See
https://tip.golang.org/ref/spec#Min_and_max

<!-- Tell your future self why have you made these changes -->
**Why?**

Less code!

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**

Existing tests.

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**

A subtle implementation detail I missed?

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**

No
2023-09-27 17:40:49 -07:00
..
2023-09-27 17:40:49 -07:00
2023-02-02 16:06:23 -08:00