func getUptime(procfile string) (uptime UptimeSample) { … } func getLoadAvgSample(procfile string) (samp LoadAvgSample) { … } func getMemSample(procfile string) (samp MemSample) { … } func getProcCPUSample() (s ProcCPUSample) { … } func getCPUSample(procfile string) (samp CPUSample) { … }