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 the interface is just Destroy(), and most (all?) generated types have said function, it means there's no guidance into using the correct types. We could improve this if the bindings had a private named function e.g:
When helping a colleague fix their usage of Go bindings, I was surprised that the types on enums were so weak as to be practically useless:
Since the interface is just
Destroy()
, and most (all?) generated types have said function, it means there's no guidance into using the correct types. We could improve this if the bindings had a private named function e.g:Keeping it private avoids polluting the public API.
The text was updated successfully, but these errors were encountered: