mycroftholmess@lemm.ee to Programmer Humor@programming.dev · 2 years agoGolang be likei.imgur.comexternal-linkmessage-square59fedilinkarrow-up167arrow-down10
arrow-up167arrow-down1external-linkGolang be likei.imgur.commycroftholmess@lemm.ee to Programmer Humor@programming.dev · 2 years agomessage-square59fedilink
minus-squareflame3244@lemmy.worldlinkfedilinkarrow-up1·2 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
_ = foobar
to fake variable usage. I think this is okay for testing purposes.