19 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
7fc2f88e79 filter theoretical limits. 2024-11-03 15:54:31 -03:00
K
c91e7b9765
using testify instead of testing.T methods. (#143) 2024-09-09 07:20:56 -03:00
fiatjaf
907cfd7846 Filter.LimitZero 2024-03-29 08:08:29 -03:00
fiatjaf
9c4ea87d0b
use stdlib "slices". 2024-02-08 16:33:39 -03:00
fiatjaf
f5cd0c1140
Filter.Clone() 2023-11-06 18:50:55 -03:00
Isaque Veras
0f66883dc7 feat(kind): using constants 2023-09-07 07:05:01 -03:00
fiatjaf
abb66db97e
fix filter tests. 2023-08-06 20:03:05 -03:00
Isaque Veras
58d56abe05 fix: removing redundancy 2023-06-12 08:18:29 -03:00
fiatjaf
c42059f4b4
tests run (but not pass) and fine-tuning (specially tag filters) on filter_easyjson.go 2023-04-16 16:16:16 -03:00
fiatjaf
661e299981
one live random filter test. 2023-03-18 08:18:08 -03:00
Yasuhiro Matsumoto
2d7dae3f69 add test for Filter.Search 2023-02-26 09:48:41 -03:00
Kevin Lee
15370a9acd
Fix example compilation error (#50) 2023-02-03 11:36:21 -03:00
fiatjaf
fe01c9474b
fix string formatting on test errors. 2022-11-08 08:44:22 -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
795863d2dd alias TagMap to map[string]StringList. 2022-02-09 20:25:23 -03:00
fiatjaf
41955a0601 serialization tests for events and filters. 2022-02-09 13:40:26 -03:00