This repository provides common Go utilities and helpers that are reusable from project-to-project. The goal is to prevent code duplication by encouraging teams to use and contribute to toolkit libraries. The toolkit is not a framework. Rather, it is a set of (mostly gRPC-related) plugins and helpers.
Apache License 2.0
99
stars
116
forks
source link
bloxid.ID can't be marshaled/unmarshaled to json #372
bloxid.V0 has all private fields and so can't be marshaled/unmarshaled into json when using it as part of a struct.
Implementing MarshalJSON and UnmarshalJSON for it should fix the issue
bloxid.V0
has all private fields and so can't be marshaled/unmarshaled into json when using it as part of a struct. ImplementingMarshalJSON
andUnmarshalJSON
for it should fix the issue