14 Commits

Author SHA1 Message Date
fiatjaf
72d9aac9b1 replace all ocurrences of encoding/json with json-iterator so we get rid of HTML escaping and hopefully get faster too. 2024-12-03 00:49:27 -03:00
fiatjaf
9057b1a7e1 get rid of all the deprecated things. 2024-10-14 16:20:30 -03:00
fiatjaf
05eb11e302 handle invalid subscription id from relay on subIdToSerial(). 2024-09-29 16:47:29 -03:00
fiatjaf
24343dbbef reduce allocations at subscription.GetID() because why not. 2024-09-29 07:55:06 -03:00
fiatjaf
3afa6fc5f6 update reflect/unsafe.String thing. 2024-01-01 10:15:06 -03:00
Yasuhiro Matsumoto
8b1839bfc1 remove dependency for github.com/dgraph-io/ristretto/z
dgraph-io/ristretto use google/glog. glog rewrites flags on its own, which
causes unexpected behaviour.
2023-12-29 18:10:31 -03:00
fiatjaf
0c5a1b7b4f
move internal utilts to helpers.go 2023-11-28 22:24:05 -03:00
fiatjaf
392013fa25
sdk package with higher-level functions. 2023-02-27 16:45:45 -03:00
fiatjaf
de7179437e
helpers.go -> utils.go and lowercase util functions. 2023-02-27 16:30:48 -03: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
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
acf86e9ad8 filenames starting with "aux" break things because something on windows? 2022-02-12 20:32:48 -03:00