bugsmith@programming.dev to Golang@programming.dev · 7 months agoGo Enums Still Suckwww.zarl.devexternal-linkmessage-square11fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1external-linkGo Enums Still Suckwww.zarl.devbugsmith@programming.dev to Golang@programming.dev · 7 months agomessage-square11fedilink
minus-squareEthan@programming.devlinkfedilinkEnglisharrow-up0·7 months agoWho uses struct tags for comments? I’ve never used or seen them used as anything except annotations as in tag:"value". And linters (go vet?) will tell you if you’re formatting them wrong.
Who uses struct tags for comments? I’ve never used or seen them used as anything except annotations as in
tag:"value"
. And linters (go vet?) will tell you if you’re formatting them wrong.