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
🤖
This commit is contained in:
parent
39f1e7ae74
commit
999a4a8fa2
6 changed files with 10 additions and 8 deletions
9
helper/math.go
Normal file
9
helper/math.go
Normal file
|
@ -0,0 +1,9 @@
|
|||
package helper
|
||||
|
||||
func Abs(x int) int {
|
||||
if x < 0 {
|
||||
return -x
|
||||
}
|
||||
|
||||
return x
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue