bindings/go/README.md
Go language bindings for FoundationDB, a distributed key-value store with ACID transactions.
This package requires:
Use of this package requires the selection of a FoundationDB API version at runtime. This package currently supports FoundationDB API versions 200-800.
In your go project with modules run the following command to get/update the required FDB version:
# Example for FDB 7.3.63 bindings
go get github.com/apple/foundationdb/bindings/[email protected]
This will add or update the bindings entry in your go.mod file like this:
github.com/apple/foundationdb/bindings/go v0.0.0-20250221231555-5140696da2df
Note: @version should match the major and minor of the FDB version you want to use, e.g. all 7.3 bindings will work for an FDB cluster in the 7.3 version.
You can build this package, in the top level of this repository run:
make fdb_go
This will create binary packages for the appropriate platform within the "build" subdirectory of this folder.