{"modulePath":"github.com/sneat-dev/wb","version":"v0.221.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package dalgostore\n\nPackage dalgostore implements githubapp.DocumentStore on DALgo.\n\nThe bench hub persists through the deliberately small githubapp.DocumentStore seam: a hierarchical document database addressed by a slash-joined collection path plus a document id. This package is the one implementation wb ships, and it is written against github.com/dal-go/dalgo rather than any single vendor's SDK — so the hosted instance runs on dalgo2firestore while a self-hoster supplies any other DALgo engine, including OpenVaultDB. See spec/decisions/0002-bench-open-source-and-self-hosting.md, step 4.\n\nThe seam's semantics are narrow on purpose and are reproduced exactly:\n\n  - a missing document is (false, nil) from Get, never an error;\n  - Query takes equality filters only, applied in sorted key order so the composite index a backend needs is stable, with limit 0 meaning unbounded;\n  - Set replaces the whole document;\n  - UpdateAtomic runs a read-write transaction and, because DALgo may retry a conflicted worker, may invoke its callback more than once.\n\n## Functions\n\n```go\nfunc New(db dal.DB) githubapp.DocumentStore\n```\nNew returns a githubapp.DocumentStore backed by db.\n\n","path":"github.com/sneat-dev/wb/api/githubapp/dalgostore","name":"dalgostore","synopsis":"Package dalgostore implements githubapp.DocumentStore on DALgo.","isRedistributable":true}
