12 Commits

Author SHA1 Message Date
fiatjaf
32768b1a5b
improve debug logging, fix stringer interface, debuglog events sent, fix debuglogging affecting the actual values. 2023-04-11 11:02:35 -03:00
Dylan Cant
afcfa20763 Changing (evt Event) MarshalJSON to avoid string escaping bug 2023-01-18 14:50:44 -05:00
barkyq
b9d04f1496
cleaning up marshaling/serialization (#1)
* cleaning up marshaling/serialization

* cleaning up marshaling/serialization
2023-01-18 11:06:59 -05:00
fiatjaf
3349b2a52b
fix encoding and decoding of event "extra" fields.
fixes https://github.com/nbd-wtf/go-nostr/issues/31
2023-01-03 14:46:50 -03:00
fiatjaf
381ee2cc01
tag helpers in a separate file and nip10 helpers. 2022-11-17 09:19:55 -03:00
fiatjaf
50e47392a9
improve tags godoc. 2022-11-11 10:56:17 -03:00
fiatjaf
8a12bb2c18
some helper functions for tags. 2022-11-11 10:52:23 -03:00
fiatjaf
f98f54d3be
use generic functions for dealing with lists. 2022-11-08 07:15:08 -03:00
fiatjaf
329b8d44d2
move stuff back from nostr package to top level.
because otherwise the path must be specified as github.com/fiatjaf/go-nostr/nostr, which is annoying.
2022-11-04 08:22:13 -03:00
BitcoinCoderBob
9549c3624a
nostr package, readme updates accordingly, matching example program (#14) 2022-10-12 17:24:30 -03:00
fiatjaf
a563c5faa1 fix subarray length typo. 2022-02-13 16:31:44 -03:00
fiatjaf
9721ffa851 use fastjson to serialize and unmarshal/marshal events, remove need for special Time type. 2022-02-09 20:23:10 -03:00