YIj54yALOJxEsY20eU@lemm.ee to Programmer Humor@programming.dev · edit-25 个月前???lemm.eeimagemessage-square75fedilinkarrow-up1558arrow-down119
arrow-up1539arrow-down1image???lemm.eeYIj54yALOJxEsY20eU@lemm.ee to Programmer Humor@programming.dev · edit-25 个月前message-square75fedilink
minus-squareAlexWIWA@lemmy.mllinkfedilinkEnglisharrow-up15·8 个月前Making a variable just to hold a debug value to look at with a breakpoint, but Go says no.
minus-squaredejected_warp_core@lemmy.worldlinkfedilinkarrow-up2·edit-28 个月前Print-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.