A basic example of using recursion to loop through built-in data structures
To get the recursion program up and running, make sure you have Go installed and your $GOPATH
environment variable set.
To build the program, run:
$ go build
To execute the program, run:
./recursion
This will print various things to your console. Trace the program and see if you can understanding what is happening!