I\'m new to golang and have looked around but can\'t find this specific problem yet.
It has to do with using interfaces to set up a basic IndexOf function (int this case