Go switch cases do not need break statements :)
Changed Attrs.Get signature to make it closer to the Go map fetching.
Make the example part of the tests to ensure it is being run when doing "go test".