将C++warpper 文件写在go中:
https://github.com/winlinvip/go-fdkaac/blob/master/fdkaac/dec.go
https://github.com/giorgisio/goav/blob/master/avfilter/avfilter.go
原文地址:
Golang 中通过 cgo 调用 C++ 的动态库的功能封装
Examples of calls between Go and C/C++
Golang 中通过 cgo 调用 C++ 的动态