foundationdb/bindings
Colin Adler dc38c68c76 Add support for modules
Because of how fdb-go-install.sh functions, it's necessary to use to use
the folder that the script installs to, located at
$GOPATH/src/github.com/apple/foundationdb/bindings/go. Since modules
will use the version from
$GOPATH/pkg/mod/github.com/apple/foundationdb/bindings/go and has a checksum of it
stored in go.sum, it's not possible to use this package currently with modules enabled.

I believe the solution to this problem is to use replace directives:
https://github.com/golang/go/wiki/Modules#when-should-i-use-the-replace-directive

After using the install script, adding
`replace github.com/apple/foundationdb/bindings/go => $GOPATH/src/github.com/apple/foundationdb/bindings/go`
will allow Go programs to be built normally with modules.

Note: $GOPATH cannot be used directly and must be expanded into an absolute
or relative path.

This go.mod must be added for replace directives to work correctly.
2019-02-12 11:27:43 -08:00
..
bindingtester Merge branch 'release-6.0' of github.com:apple/foundationdb 2018-11-27 09:50:39 -08:00
c make c bindings work on Windows 2019-02-07 15:37:04 -08:00
flow Merge branch 'master' into remove-cluster-from-bindings 2019-01-10 11:58:34 -08:00
go Add support for modules 2019-02-12 11:27:43 -08:00
java Most of FDB compiling on Windows with cmake 2019-02-07 15:37:04 -08:00
python Add comment for the code where we replace the semaphore in the exception handler 2019-02-11 10:35:29 -08:00
ruby Add missing file fdbimpl_v609.rb to the package 2019-01-31 15:36:14 -08:00
CMakeLists.txt added bindings to cmake build 2018-12-13 14:54:38 -08:00
__init__.py remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py 2018-02-21 10:25:11 -08:00