github.com/Prakhar-Agarwal-byte/moby@v0.0.0-20231027092010-a14e3e8ab87e/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 }