Go Packages: Make a function that gets attributes.