rename to github.com/nbd-wtf/go-nostr

This commit is contained in:
fiatjaf 2022-11-04 08:24:32 -03:00
parent 329b8d44d2
commit 2427dbd65a
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1
3 changed files with 4 additions and 5 deletions

View File

@ -3,9 +3,9 @@
go-nostr
========
A set of useful things for [Nostr Protocol](https://github.com/fiatjaf/nostr) implementations.
A set of useful things for [Nostr Protocol](https://github.com/nostr-protocol/nostr) implementations.
<a href="https://godoc.org/github.com/fiatjaf/go-nostr"><img src="https://img.shields.io/badge/api-reference-blue.svg?style=flat-square" alt="GoDoc"></a>
<a href="https://godoc.org/github.com/nbd-wtf/go-nostr"><img src="https://img.shields.io/badge/api-reference-blue.svg?style=flat-square" alt="GoDoc"></a>
### Subscribing to a set of relays

View File

@ -4,7 +4,7 @@ import (
"fmt"
"time"
"github.com/fiatjaf/go-nostr/nostr"
"github.com/nbd-wtf/go-nostr"
)
// some nostr relay in the wild
@ -70,7 +70,6 @@ func main() {
time.Sleep(20 * time.Second)
fmt.Println("unsubscribing from nostr subscription")
sub.Unsub()
}
// handle events from out publish events

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/fiatjaf/go-nostr
module github.com/nbd-wtf/go-nostr
go 1.18