c9s/r3 binding for Go using cgo