@YIj54yALOJxEsY20eU@lemm.ee to Programmer Humor@programming.dev • edit-22 months ago???lemm.eeimagemessage-square75fedilinkarrow-up1556arrow-down119
arrow-up1537arrow-down1image???lemm.ee@YIj54yALOJxEsY20eU@lemm.ee to Programmer Humor@programming.dev • edit-22 months agomessage-square75fedilink
minus-square@AlexWIWA@lemmy.mllinkfedilinkEnglish15•5 months agoMaking a variable just to hold a debug value to look at with a breakpoint, but Go says no.
minus-square@dejected_warp_core@lemmy.worldlinkfedilink2•edit-25 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.