diff options
Diffstat (limited to 'internal/handler/grpc')
| -rw-r--r-- | internal/handler/grpc/convert.go | 2 | ||||
| -rw-r--r-- | internal/handler/grpc/convert_test.go | 2 | ||||
| -rw-r--r-- | internal/handler/grpc/server_test.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/internal/handler/grpc/convert.go b/internal/handler/grpc/convert.go index db6935e..6f1bec3 100644 --- a/internal/handler/grpc/convert.go +++ b/internal/handler/grpc/convert.go | |||
| @@ -2,7 +2,7 @@ package grpc | |||
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | pb "northwest.io/muxstr/api/nostr/v1" | 4 | pb "northwest.io/muxstr/api/nostr/v1" |
| 5 | "northwest.io/muxstr/internal/nostr" | 5 | "northwest.io/nostr" |
| 6 | ) | 6 | ) |
| 7 | 7 | ||
| 8 | func NostrToPB(n *nostr.Event) *pb.Event { | 8 | func NostrToPB(n *nostr.Event) *pb.Event { |
diff --git a/internal/handler/grpc/convert_test.go b/internal/handler/grpc/convert_test.go index e9116ef..7ef08f9 100644 --- a/internal/handler/grpc/convert_test.go +++ b/internal/handler/grpc/convert_test.go | |||
| @@ -4,7 +4,7 @@ import ( | |||
| 4 | "testing" | 4 | "testing" |
| 5 | 5 | ||
| 6 | pb "northwest.io/muxstr/api/nostr/v1" | 6 | pb "northwest.io/muxstr/api/nostr/v1" |
| 7 | "northwest.io/muxstr/internal/nostr" | 7 | "northwest.io/nostr" |
| 8 | ) | 8 | ) |
| 9 | 9 | ||
| 10 | func TestNostrToPB(t *testing.T) { | 10 | func TestNostrToPB(t *testing.T) { |
diff --git a/internal/handler/grpc/server_test.go b/internal/handler/grpc/server_test.go index d589445..8bd48ea 100644 --- a/internal/handler/grpc/server_test.go +++ b/internal/handler/grpc/server_test.go | |||
| @@ -7,8 +7,8 @@ import ( | |||
| 7 | "time" | 7 | "time" |
| 8 | 8 | ||
| 9 | pb "northwest.io/muxstr/api/nostr/v1" | 9 | pb "northwest.io/muxstr/api/nostr/v1" |
| 10 | "northwest.io/muxstr/internal/nostr" | ||
| 11 | "northwest.io/muxstr/internal/storage" | 10 | "northwest.io/muxstr/internal/storage" |
| 11 | "northwest.io/nostr" | ||
| 12 | ) | 12 | ) |
| 13 | 13 | ||
| 14 | func TestPublishEvent(t *testing.T) { | 14 | func TestPublishEvent(t *testing.T) { |
