A very short example of slices in Go. Copied from my examples of common data structures, I am using the stack as a way to implement slices.
A stack built with a traditional array. You will notice this as a fixed size.
A stack built with slices implementing the copy method. This is more efficient than a traditional array as it allows you to easily grow the array by making larger arrays and copying your contents over.
A stack built with append. Append allows us to grow the array as we need, using as little memory as possible.
##License This tool is protected by the GNU General Public License v2.
Copyright Jeffrey Hann 2014