Random little help methods for things in golang