mycroftholmess@lemm.ee to Programmer Humor@programming.dev · 3 years agoGolang be likei.imgur.comexternal-linkmessage-square57linkfedilinkarrow-up169arrow-down10
arrow-up169arrow-down1external-linkGolang be likei.imgur.commycroftholmess@lemm.ee to Programmer Humor@programming.dev · 3 years agomessage-square57linkfedilink
minus-squareflame3244@lemmy.worldlinkfedilinkarrow-up1·3 years agoYes it is a hard error and Go does not compile then. You can do _ = foobar to fake variable usage. I think this is okay for testing purposes.
Yes it is a hard error and Go does not compile then. You can do
_ = foobarto fake variable usage. I think this is okay for testing purposes.