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/tecbot/gorocksdb
Opens a RocksDB database and prints a success message.
package main
import (
"fmt"
"github.com/tecbot/gorocksdb"
)
func main() {
opts := gorocksdb.NewDefaultOptions()
defer opts.Destroy()
db, err := gorocksdb.OpenDb(opts, "/tmp/rocksdb")
if err != nil {
panic(err)
}
defer db.Close()
fmt.Println("RocksDB opened successfully")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20191217155057-f0fad39f321clatest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.