github.com/zhouyu0/docker-note@v0.0.0-20190722021225-b8d3825084db/pkg/system/meminfo_unsupported.go (about) 1 // +build !linux,!windows 2 3 package system // import "github.com/docker/docker/pkg/system" 4 5 // ReadMemInfo is not supported on platforms other than linux and windows. 6 func ReadMemInfo() (*MemInfo, error) { 7 return nil, ErrNotSupportedPlatform 8 }