variables , shard type
(x, y int)
| 13 | var node, goo int // variables , shard type |
| 14 | |
| 15 | func Add(x, y int) int { // func take 0 or more arguments and type int , and return int , export |
| 16 | return x + y |
| 17 | } |
| 18 | |
| 19 | func swap(x, y string) (string, string) { // two argument shard type string , and return multi string |
| 20 | return y, x |