We can do that instead, this is my first foray into go, so this is all new to me. If a user of the library can be expected to pass in a struct then this can be changed too.