Go Packages: Added a few helper functions.

Also implemented a few idiomatic issues as commented by Caine.