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.
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.