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
Some parts of the code is not following the stigma "Accept interfaces / return structs". To make the code more pleasing to Gophers, revisit the code and where it makes sense there change the logic. Sometimes, we can express ourselves better (or "protect" some APIs) if not returning structs.
The text was updated successfully, but these errors were encountered:
Some parts of the code is not following the stigma "Accept interfaces / return structs". To make the code more pleasing to Gophers, revisit the code and where it makes sense there change the logic. Sometimes, we can express ourselves better (or "protect" some APIs) if not returning structs.
The text was updated successfully, but these errors were encountered: