func (reader *MemInfoReader) Read() (memInfo *linux.MemInfo, err error) {
	location := reader.Location
	if len(location) == 0 {
		location = DefaultMemoryReaderLocation
	}
	return linux.ReadMemInfo(location)
}
Read parses the configured Location as if it were a linux meminfo file.
package health
import (
	"github.com/c9s/goprocinfo/linux"
)
const (
	DefaultMemoryReaderLocation string = "/proc/meminfo"
)
type MemInfoReader struct {
	Location string
}