Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/couchbase/sync_gateway
/ Min
Function
Min
base/util.go:1486–1491 ·
view source on GitHub ↗
(a, b T)
Source
from the content-addressed store, hash-verified
1484
}
1485
1486
func
Min[T constraints.Ordered](a, b T) T {
1487
if
a < b {
1488
return
a
1489
}
1490
return
b
1491
}
1492
1493
func
Max[T constraints.Ordered](a, b T) T {
1494
if
a > b {
Callers
5
CalculateMaxHistoryEntriesPerGrant
Function · 0.92
CollectionChannelGrantedPeriods
Method · 0.92
buildRevokedFeed
Method · 0.92
wasDocInChannelPriorToRevocation
Method · 0.92
changesFeed
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected