fix sqlite mention.

This commit is contained in:
fiatjaf
2025-09-23 19:02:09 -03:00
parent 8b8693f4bf
commit 79f1a9c636
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ var db eventstore.Store
var app = &cli.Command{ var app = &cli.Command{
Name: "eventstore", Name: "eventstore",
Usage: "a CLI for all the eventstore backends", Usage: "a CLI for all the eventstore backends",
UsageText: "eventstore -d ./data/sqlite <query|save|delete> ...", UsageText: "eventstore -d ./data <query|save|delete> ...",
Flags: []cli.Flag{ Flags: []cli.Flag{
&cli.StringFlag{ &cli.StringFlag{
Name: "store", Name: "store",

View File

@@ -108,7 +108,7 @@ func main() {
### But I don't want to write my own database! ### But I don't want to write my own database!
Fear no more. Using the https://fiatjaf.com/nostr/eventstore module you get a bunch of compatible databases out of the box and you can just plug them into your relay. For example, [sqlite](https://pkg.go.dev/fiatjaf.com/nostr/eventstore/lmdb): Fear no more. Using the https://fiatjaf.com/nostr/eventstore module you get a bunch of compatible databases out of the box and you can just plug them into your relay. For example, [lmdb](https://pkg.go.dev/fiatjaf.com/nostr/eventstore/lmdb):
```go ```go
db := lmdb.LMDBackend{Path: "/tmp/khatru-lmdb-tmp"} db := lmdb.LMDBackend{Path: "/tmp/khatru-lmdb-tmp"}