go get github.com/apple/foundationdb/bindings/go@release-6.0
wget https://www.foundationdb.org/downloads/6.0.18/macOS/installers/FoundationDB-6.0.18.pkg
sudo installer -pkg FoundationDB-6.0.18.pkg -target /
And then go build ouput is this
go build
# github.com/apple/foundationdb/bindings/go/src/fdb
In file included from _cgo_export.c:4:
cgo-gcc-export-header-prolog:45:1: warning: '/*' within block comment [-Wcomment]
cgo-gcc-export-header-prolog:46:1: warning: '/*' within block comment [-Wcomment]