func os.Getpid
5 uses
os (current package)
exec.go#L75: func Getpid() int { return syscall.Getpid() }
contrib.go.opencensus.io/exporter/stackdriver
stats.go#L187: return "go-" + strconv.Itoa(os.Getpid()) + "@" + hostname
github.com/go-git/go-billy/v5/util
util.go#L125: return uint32(time.Now().UnixNano() + int64(os.Getpid()))
github.com/prometheus/client_golang/prometheus
process_collector.go#L109: pid := os.Getpid()
io/ioutil
tempfile.go#L25: return uint32(time.Now().UnixNano() + int64(os.Getpid()))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |