gosndfile is a binding for libsndfile. It is distributed under the same terms (your choice of LGPL 2.1 or 3). If you install libsndfile outside of your system include and lib paths, make sure to set the environment variable PKG_CONFIG_PATH accordingly. This package should be go get-able: e.g.
go get github.com/mkb218/gosndfile/sndfile
If building with libsndfile earlier than 1.0.26, you will need to define the
legacy build tag:
go get -tags legacy.