Package xattr wraps OS X functions to manipulate the extended attributes of a file, directory and symbolic link.
Building is done with the go
tool. If you have setup your GOPATH correctly the following should work:
go build github.com/bitcartel/go-osx-xattr
To use the package in your code:
import "github.com/bitcartel/go-osx-xattr"