github.com/toplink-cn/moby@v0.0.0-20240305205811-460b4aebdf81/pkg/meminfo/meminfo_unsupported.go (about) 1 //go:build !linux && !windows 2 3 package meminfo 4 5 import "errors" 6 7 // readMemInfo is not supported on platforms other than linux and windows. 8 func readMemInfo() (*Memory, error) { 9 return nil, errors.New("platform and architecture is not supported") 10 }