Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + func FreeOSMemory() + func PrintStack() + func ReadGCStats(stats *GCStats) + func SetGCPercent(percent int) int + func SetMaxStack(bytes int) int + func SetMaxThreads(threads int) int + func SetPanicOnFault(enabled bool) bool + func SetTraceback(level string) + func Stack() []byte + func WriteHeapDump(fd uintptr) + type BuildInfo struct + Deps []*Module + GoVersion string + Main Module + Path string + Settings []BuildSetting + func ParseBuildInfo(data string) (bi *BuildInfo, err error) + func ReadBuildInfo() (info *BuildInfo, ok bool) + func (bi *BuildInfo) String() string + type BuildSetting struct + Key string + Value string + type GCStats struct + LastGC time.Time + NumGC int64 + Pause []time.Duration + PauseEnd []time.Time + PauseQuantiles []time.Duration + PauseTotal time.Duration + type Module struct + Path string + Replace *Module + Sum string + Version string