Liked a post on Twitter
If have a general #golang rule for the following code snippet. I like the first call to Claim over the second. General Rule: When the API is only returning an error value and you are not using the short variable declaration operator ( := ), question the choice.
William (Bill) Kennedy (@goinggodotnet)Mon, 29 Aug 2022 14:06 +0000
This post was filed under likes.