YIj54yALOJxEsY20eU@lemm.ee to Programmer Humor@programming.dev · 8 months agoGive me Options or give me deathlemm.eeimagemessage-square66fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageGive me Options or give me deathlemm.eeYIj54yALOJxEsY20eU@lemm.ee to Programmer Humor@programming.dev · 8 months agomessage-square66fedilink
minus-squareAlexWIWA@lemmy.mllinkfedilinkEnglisharrow-up0·8 months agoMaking a variable just to hold a debug value to look at with a breakpoint, but Go says no.
minus-squaredejected_warp_core@lemmy.worldlinkfedilinkarrow-up0·edit-28 months agoPrint-style debugging/logging has entered the chat.
Making a variable just to hold a debug value to look at with a breakpoint, but Go says no.
You can do
_ = variable
Print-style debugging/logging has entered the chat.