integers: add doc for Add function
This commit is contained in:
parent
bdef054bb6
commit
ad9df93776
@ -1,5 +1,6 @@
|
|||||||
package integers
|
package integers
|
||||||
|
|
||||||
|
// Add takes two integers and returns the sum of them
|
||||||
func Add(x, y int) int {
|
func Add(x, y int) int {
|
||||||
return x + y
|
return x + y
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user