Sebastian Mark
999a4a8fa2
- move `helper` package files to root `helper` directory
- update all helper imports
- rename `GetLines` to `getLines` for consistent naming convention
🤖
9 lines
78 B
Go
9 lines
78 B
Go
package helper
|
|
|
|
func Abs(x int) int {
|
|
if x < 0 {
|
|
return -x
|
|
}
|
|
|
|
return x
|
|
}
|