What is Nostr?
Louis :emacs: /
npub1tp9…dzfn
2024-02-06 16:03:14
in reply to nevent1q…u6js

Louis :emacs: on Nostr: npub1jz4fk…rd2ua Go's own types in the standard library annoyingly lack ...

npub1jz4fkl2yy7ar6n7lxg8ahd6ydps2pwrxngsj0y8yueqv3n3rv77s7rd2ua (npub1jz4…d2ua) Go's own types in the standard library annoyingly lack RFC-compatible JSON Un/Marshallers (same goes for time.Time). The issue is discussed for years and it doesn't look like there will be any change until Go 2, if it all.

https://github.com/golang/go/
issues/10275

This means, that everyone has to run their own JSON-enabled versions of url.URL, time.Time and so an, since types in Go cannot be extended.
Author Public Key
npub1tp9e9qhmc02khh3jzpn8vmqwhj3u25yw352ed2x87zs4e2ps2uwqhadzfn