bugsmithA to Golang · 8 months agoGo Enums Still Suckwww.zarl.devexternal-linkmessage-square13fedilinkarrow-up122arrow-down13
arrow-up119arrow-down1external-linkGo Enums Still Suckwww.zarl.devbugsmithA to Golang · 8 months agomessage-square13fedilink
minus-squareEthanlinkfedilinkEnglisharrow-up3·8 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.