github.com/kaydxh/golang@v0.0.131/go/syscall/memory_darwin.go (about) 1 package syscall 2 3 type MemoryUsage struct { 4 } 5 6 func (m MemoryUsage) SysTotalMemory() uint64 { 7 return 0 8 } 9 10 func (m MemoryUsage) SysFreeMemory() uint64 { 11 return 0 12 } 13 14 func (m MemoryUsage) SysUsageMemory() float64 { 15 return 0 16 }