What is Nostr?
Nicolas Martyanoff /
npub17vs…jc6l
2024-02-06 15:11:14

Nicolas Martyanoff on Nostr: Careful, do not use the url.URL #Go type in structures if you expect to encode them ...

Careful, do not use the url.URL #Go type in structures if you expect to encode them in JSON. For some incredibly stupid reason, it will be serialized as a JSON object and not as the expected string representation. Forces you to use strings everywhere. So much for type safety…
Author Public Key
npub17vstmkjpd25e72hqjjwu54krhav2nq2unhnm49g268a9drdzhqtqjmjc6l