update import paths.

This commit is contained in:
fiatjaf
2025-04-15 08:51:25 -03:00
parent 76032dc089
commit f493293be2
106 changed files with 224 additions and 224 deletions

View File

@@ -5,8 +5,8 @@ import (
"os"
"testing"
"github.com/fiatjaf/eventstore/badger"
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostr/eventstore/badger"
"fiatjaf.com/nostr"
"github.com/stretchr/testify/assert"
)

View File

@@ -3,7 +3,7 @@ package bluge
import (
"context"
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostr"
)
func (b *BlugeBackend) DeleteEvent(ctx context.Context, evt *nostr.Event) error {

View File

@@ -6,7 +6,7 @@ import (
"github.com/blugelabs/bluge"
"github.com/blugelabs/bluge/analysis/token"
"github.com/fiatjaf/eventstore"
"fiatjaf.com/nostr/eventstore"
"golang.org/x/text/unicode/norm"
)

View File

@@ -8,7 +8,7 @@ import (
"github.com/blugelabs/bluge"
"github.com/blugelabs/bluge/search"
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostr"
)
func (b *BlugeBackend) QueryEvents(ctx context.Context, filter nostr.Filter) (chan *nostr.Event, error) {

View File

@@ -4,9 +4,9 @@ import (
"context"
"fmt"
"github.com/fiatjaf/eventstore"
"github.com/fiatjaf/eventstore/internal"
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostr/eventstore"
"fiatjaf.com/nostr/eventstore/internal"
"fiatjaf.com/nostr"
)
func (b *BlugeBackend) ReplaceEvent(ctx context.Context, evt *nostr.Event) error {

View File

@@ -6,7 +6,7 @@ import (
"strconv"
"github.com/blugelabs/bluge"
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostr"
)
func (b *BlugeBackend) SaveEvent(ctx context.Context, evt *nostr.Event) error {