Add math functions
This commit is contained in:
parent
77ed11356a
commit
25766195d9
1 changed files with 9 additions and 0 deletions
9
math/math.go
Normal file
9
math/math.go
Normal file
|
@ -0,0 +1,9 @@
|
|||
package math
|
||||
|
||||
func Sum(a, b int) int {
|
||||
return a + b
|
||||
}
|
||||
|
||||
func Mul(a, b int) int {
|
||||
return a * b
|
||||
}
|
Loading…
Reference in a new issue