Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Shopify/go-lua
/ max
Function
max
code.go:261–266 ·
view source on GitHub ↗
(a, b int)
Source
from the content-addressed store, hash-verified
259
}
260
261
func
max(a, b int) int {
262
if
a > b {
263
return
a
264
}
265
return
b
266
}
267
268
func
min(a, b int) int {
269
if
a < b {
Callers
2
loadNil
Method · 0.85
maybeResizeArray
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected