feat: es7 read data(scroll => search_after)

This commit is contained in:
loveuer
2024-07-15 14:07:43 +08:00
parent 059550898e
commit 0aee33d553
5 changed files with 130 additions and 58 deletions

11
internal/util/min.go Normal file
View File

@ -0,0 +1,11 @@
package util
import "cmp"
func Min[T cmp.Ordered](a, b T) T {
if a <= b {
return a
}
return b
}