libgollatz is a library for running the Collatz conjecture algorithm. That's literally it. I'm using this to cement my understanding of packaging libraries in Go. I'm only putting it on GitHub because I'm creating another project that uses this as a dependancy.
FAQ
Q. Why are you using the Result struct instead of mapping an input to an array or list of outputs?
A. Because we might eventually want to store more information than just the number of steps and the outputs.
Package libgollatz will take a n integer, perform the collatz algorithm on it,
and then put each value it hits into a linked list, which will then be
put into an array. Then it will return a Result consisting of the original
value and the array of values.
Collatz will take in a number, and then run it through the Collatz
algorithm (3n+1). It returns a Result which stores the initial value
and the steps it took to get to 1.