Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/couchbaselabs/c-forestdb
A go-gettable wrapper for the ForestDB project.
https://github.com/couchbaselabs/c-forestdb
Last synced: 2 days ago
JSON representation
A go-gettable wrapper for the ForestDB project.
- Host: GitHub
- URL: https://github.com/couchbaselabs/c-forestdb
- Owner: couchbaselabs
- Created: 2016-02-11T22:25:30.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-12T20:35:27.000Z (almost 9 years ago)
- Last Synced: 2024-06-21T18:07:49.879Z (6 months ago)
- Language: C++
- Size: 516 KB
- Stars: 4
- Watchers: 45
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ForestDB
This is a go-gettable version of the ForestDB C++ library for use in Go code
that needs to link against the C++ ForestDB library but wants to integrate with
go get and go build.To use in your project you need to import the package and set appropriate
cgo flag directives:import _ "github.com/couchbaselabs/c-forestdb"
// #cgo CXXFLAGS: -std=c++11
// #cgo CPPFLAGS: -I ../../couchbaselabs/c-forestdb/internal/include
// #cgo darwin LDFLAGS: -Wl,-undefined -Wl,dynamic_lookup
// #cgo !darwin LDFLAGS: -Wl,-unresolved-symbols=ignore-all
// #include
import "C"To update the upstream version of ForestDB you'll want to update ./import.sh
to point to the new version (just change the URL), and then run it.### Credits
This package was inspired by the [cockroachdb](https://github.com/cockroachdb) teams
[c-rocksdb](https://github.com/cockroachdb/c-rocksdb) project wrapping the RocksDB library.