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

@@ -7,12 +7,12 @@ import (
"os"
"testing"
"github.com/fiatjaf/eventstore"
"github.com/fiatjaf/eventstore/badger"
"github.com/fiatjaf/eventstore/lmdb"
"github.com/fiatjaf/eventstore/slicestore"
"github.com/fiatjaf/eventstore/sqlite3"
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostr/eventstore"
"fiatjaf.com/nostr/eventstore/badger"
"fiatjaf.com/nostr/eventstore/lmdb"
"fiatjaf.com/nostr/eventstore/slicestore"
"fiatjaf.com/nostr/eventstore/sqlite3"
"fiatjaf.com/nostr"
)
func BenchmarkSliceStore(b *testing.B) {

View File

@@ -6,12 +6,12 @@ import (
"testing"
embeddedpostgres "github.com/fergusstrange/embedded-postgres"
"github.com/fiatjaf/eventstore"
"github.com/fiatjaf/eventstore/badger"
"github.com/fiatjaf/eventstore/lmdb"
"github.com/fiatjaf/eventstore/postgresql"
"github.com/fiatjaf/eventstore/slicestore"
"github.com/fiatjaf/eventstore/sqlite3"
"fiatjaf.com/nostr/eventstore"
"fiatjaf.com/nostr/eventstore/badger"
"fiatjaf.com/nostr/eventstore/lmdb"
"fiatjaf.com/nostr/eventstore/postgresql"
"fiatjaf.com/nostr/eventstore/slicestore"
"fiatjaf.com/nostr/eventstore/sqlite3"
)
const (

View File

@@ -7,8 +7,8 @@ import (
"strings"
"testing"
"github.com/fiatjaf/eventstore"
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostr/eventstore"
"fiatjaf.com/nostr"
"github.com/stretchr/testify/require"
)

View File

@@ -7,8 +7,8 @@ import (
"slices"
"testing"
"github.com/fiatjaf/eventstore"
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostr/eventstore"
"fiatjaf.com/nostr"
"github.com/stretchr/testify/require"
)

View File

@@ -5,9 +5,9 @@ import (
"testing"
"time"
"github.com/fiatjaf/eventstore"
"github.com/fiatjaf/eventstore/slicestore"
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostr/eventstore"
"fiatjaf.com/nostr/eventstore/slicestore"
"fiatjaf.com/nostr"
"github.com/stretchr/testify/require"
)

View File

@@ -6,8 +6,8 @@ import (
"fmt"
"testing"
"github.com/fiatjaf/eventstore"
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostr/eventstore"
"fiatjaf.com/nostr"
"github.com/stretchr/testify/require"
)

View File

@@ -1,7 +1,7 @@
package test
import (
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostr"
)
func getTimestamps(events []*nostr.Event) []nostr.Timestamp {

View File

@@ -7,8 +7,8 @@ import (
"slices"
"testing"
"github.com/fiatjaf/eventstore"
"github.com/nbd-wtf/go-nostr"
"fiatjaf.com/nostr/eventstore"
"fiatjaf.com/nostr"
"github.com/stretchr/testify/require"
)