mycroftholmess@lemm.ee to Programmer Humor@programming.dev · 1 year agoGolang be likei.imgur.comimagemessage-square58fedilinkarrow-up154arrow-down10
arrow-up154arrow-down1imageGolang be likei.imgur.commycroftholmess@lemm.ee to Programmer Humor@programming.dev · 1 year agomessage-square58fedilink
minus-squareflame3244@lemmy.worldlinkfedilinkarrow-up1·1 year 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.