minus-squareflame3244@lemmy.worldtoProgrammer Humor@programming.dev•Golang be likelinkfedilinkarrow-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. linkfedilink
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.