21 Commits

Author SHA1 Message Date
fiatjaf
cc23d81e80 pool's .FetchManyReplaceable() and amends to previous commit. 2025-03-12 00:49:58 -03:00
fiatjaf
42a2243b72 tags Clone() and CloneDeep() 2025-03-11 16:35:51 -03:00
fiatjaf
d430b8c9ed I had forgotten to implement Tags.FindAll() 2025-03-10 02:58:31 -03:00
fiatjaf
a52165fb7d deprecate all useless tag methods, implement Find() and friends. 2025-03-10 02:33:29 -03:00
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
1l0
9e744e1eb0 tags: fix out of range panic 2024-10-14 11:59:13 -03:00
fiatjaf
97ed96ef73 more tag helpers. 2024-10-13 10:32:43 -03:00
fiatjaf
9c4ea87d0b
use stdlib "slices". 2024-02-08 16:33:39 -03:00
fiatjaf
45bdd193c5
Tags.GetD() 2023-12-29 18:10:56 -03:00
fiatjaf
fe9fe0abc8
remove useless assignment. 2023-11-07 22:17:50 -03:00
Kay
ac2350c722 style: using effective go and refactoring 2023-08-21 15:50:05 -03:00
fiatjaf
3785daf8aa
normalize relay url from Tag.Relay(). 2023-04-19 14:40:44 -03:00
fiatjaf
326d2790de
rename interface{} to any. 2023-04-12 12:14:24 -03:00
fiatjaf
4aee139f6c
modify AppendUnique so it matches only the first two items. 2023-02-05 17:04:15 -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
Liran Cohen
c816103774 fix typo for GoDoc comment on GetAll tags 2023-01-18 08:48:23 -03:00
fiatjaf
89cb5ad461
fix Tag.Relay(). 2022-11-18 14:18:37 -03:00
fiatjaf
381ee2cc01
tag helpers in a separate file and nip10 helpers. 2022-11-17 09:19:55 -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
fiatjaf
d131e8460e move everything to the same directory. 2022-01-02 08:44:18 -03:00