Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Shopify/go-lua
/ abs
Function
abs
code.go:254–259 ·
view source on GitHub ↗
(i int)
Source
from the content-addressed store, hash-verified
252
}
253
254
func
abs(i int) int {
255
if
i < 0 {
256
return
-i
257
}
258
return
i
259
}
260
261
func
max(a, b int) int {
262
if
a > b {
Callers
1
fixJump
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected