2 ms·
Also what I do. You could theoretically also create your own type that manages deserialization and includes an "is_set" field.
by campbel 3y ago
Also what I do. You could theoretically also create your own type that manages deserialization and includes an "is_set" field.
- euroderf 3y agoFWIW: calling Error() on a nil error is an obnoxious NPE fail, so I made this: https://pkg.go.dev/github.com/fbaube/miscutils#Errer https://pkg.go.dev/github.com/fbaube/miscutils#Errer