How to use the var GODEBUG environment

Can someone explain to me how to use the environment variable GODEBUG

?

Possibly a link to a good tutorial

Google doesn't help much - or I don't know what to look for

+3
go


source to share


1 answer


The GODEBUG environment variable is documented in the runtime package .



Dave Cheney describes how to visualize GC using telemetry from GODEBUG = gctrace = 1.

+5


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics