mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-15 21:51:23 +08:00
fa49fd7ba2
Co-authored-by: H1JK <hell0jack@protonmail.com>
14 lines
166 B
Go
14 lines
166 B
Go
//go:build go1.21
|
|
|
|
package congestion
|
|
|
|
import "cmp"
|
|
|
|
func Max[T cmp.Ordered](a, b T) T {
|
|
return max(a, b)
|
|
}
|
|
|
|
func Min[T cmp.Ordered](a, b T) T {
|
|
return min(a, b)
|
|
}
|