github.com/choleraehyq/pid@v0.0.18/runtime_gccgo_go1.8.go (about) 1 //go:build gccgo && go1.8 2 // +build gccgo,go1.8 3 4 package goid 5 6 // https://github.com/gcc-mirror/gcc/blob/gcc-7-branch/libgo/go/runtime/runtime2.go#L329-L422 7 8 type g struct { 9 _panic uintptr 10 _defer uintptr 11 m uintptr 12 syscallsp uintptr 13 syscallpc uintptr 14 param uintptr 15 atomicstatus uint32 16 goid int64 // Here it is! 17 }