sdk/hints: adapt sqlite to also support postgres.

This commit is contained in:
fiatjaf
2024-12-23 18:48:04 -03:00
parent 9aac901c03
commit 3b3d5cce7b
8 changed files with 109 additions and 41 deletions

View File

@@ -3,9 +3,9 @@ package test
import (
"testing"
"github.com/nbd-wtf/go-nostr/sdk/hints/memory"
"github.com/nbd-wtf/go-nostr/sdk/hints/memoryh"
)
func TestMemoryHints(t *testing.T) {
runTestWith(t, memory.NewHintDB())
runTestWith(t, memoryh.NewHintDB())
}