You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since getters are not idiomatic Go when there's no functional requirement, creating getter functions simply to allow interface to match structs does feel idiomatic. This use case only gets less idiomatic when the getter-ed fields need to be public on their own to support reflection like in the case of json unmarshaled fields.
Since getters are not idiomatic Go when there's no functional requirement, creating getter functions simply to allow interface to match structs does feel idiomatic. This use case only gets less idiomatic when the getter-ed fields need to be public on their own to support reflection like in the case of
json
unmarshaled fields.How about interface field support
The text was updated successfully, but these errors were encountered: