Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
gorocksdb
✓ github.com/stumble/gorocksdb
Open a RocksDB database with default options.
package main
import (
"fmt"
"github.com/stumble/gorocksdb"
)
func main() {
opts := gorocksdb.NewDefaultOptions()
opts.SetCreateIfMissing(true)
db, err := gorocksdb.OpenDb(opts, "/tmp/testdb")
if err != nil {
panic(err)
}
defer db.Close()
fmt.Println("Database opened successfully")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.3latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.