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
Above structure does not provide any solution for the packages that depend on above struct during this package' unit tests. It will be easier to test if these fields were public.
Alternate way will be to expose an interface for each & every public method of this struct. However, it does not seem the most idiomatic way to do.
The text was updated successfully, but these errors were encountered:
Take for example following structure used in dynamic/clientset/clientset.go file
Above structure does not provide any solution for the packages that depend on above struct during this package' unit tests. It will be easier to test if these fields were public.
Alternate way will be to expose an interface for each & every public method of this struct. However, it does not seem the most idiomatic way to do.
The text was updated successfully, but these errors were encountered: