github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/proc_id.go.patch (about) 1 package runtime 2 3 func GoID() int64 { 4 return getg().goid 5 }