1
0
Fork 0
adventofcode/helper/math.go
Sebastian Mark 999a4a8fa2 refactor(helper): update module path and function names
- move `helper` package files to root `helper` directory
- update all helper imports
- rename `GetLines` to `getLines` for consistent naming convention

🤖
2024-12-03 20:24:23 +01:00

9 lines
78 B
Go

package helper
func Abs(x int) int {
if x < 0 {
return -x
}
return x
}