Package opus provides Go bindings for Opus encoder/decoder reference implementation from Xiph.org.
All the binding code has automatically been generated with rules defined in opus.yml.
$ brew install opus
$ go get github.com/xlab/opus-go/opus
For an example of use see webm-player/adecoder.go, the audio decoding module of an WebM player in Golang. It's very easy in comparison with Ogg/Vorbis.
You will need to get the cgogen tool installed first.
$ git clone https://github.com/xlab/opus-go && cd opus-go
$ make clean
$ make