mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-17 21:32:56 +01:00
rename to github.com/nbd-wtf/go-nostr
This commit is contained in:
parent
329b8d44d2
commit
2427dbd65a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user