Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nutsdb/nutsdb
/ init
Function
init
examples/iterator/main.go:13–18 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
)
12
13
func
init() {
14
db, _ = nutsdb.Open(
15
nutsdb.DefaultOptions,
16
nutsdb.WithDir(
"/tmp/nutsdbexample/example_iterator"
),
17
)
18
}
19
20
func
main() {
21
tx, err := db.Begin(true)
Callers
nothing calls this directly
Calls
2
Open
Function · 0.92
WithDir
Function · 0.92
Tested by
no test coverage detected