mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-18 03:22:22 +02:00
Update example.go
Fixed a typo and capitalised
This commit is contained in:
@@ -49,7 +49,7 @@ func main() {
|
|||||||
// create and publish events
|
// create and publish events
|
||||||
go func() {
|
go func() {
|
||||||
for {
|
for {
|
||||||
content := fmt.Sprintf("henlo world at time: %s", time.Now().String())
|
content := fmt.Sprintf("Hello world at time: %s", time.Now().String())
|
||||||
event, statuses, err := pool.PublishEvent(&nostr.Event{
|
event, statuses, err := pool.PublishEvent(&nostr.Event{
|
||||||
CreatedAt: time.Now(),
|
CreatedAt: time.Now(),
|
||||||
Kind: nostr.KindTextNote,
|
Kind: nostr.KindTextNote,
|
||||||
|
Reference in New Issue
Block a user