Update example.go

Fixed a typo and capitalised
This commit is contained in:
Blake Jakopovic 2022-11-09 15:59:12 +01:00 committed by fiatjaf
parent fe01c9474b
commit cdc9b61db1

View File

@ -49,7 +49,7 @@ func main() {
// create and publish events
go func() {
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{
CreatedAt: time.Now(),
Kind: nostr.KindTextNote,