github.com/rawahars/moby@v24.0.4+incompatible/pkg/meminfo/meminfo_unsupported.go (about) 1 //go:build !linux && !windows 2 // +build !linux,!windows 3 4 package meminfo 5 6 import "errors" 7 8 // readMemInfo is not supported on platforms other than linux and windows. 9 func readMemInfo() (*Memory, error) { 10 return nil, errors.New("platform and architecture is not supported") 11 }