type Meminfo … // Meminfo returns an information about current kernel/system memory statistics. // See https://www.kernel.org/doc/Documentation/filesystems/proc.txt func (fs FS) Meminfo() (Meminfo, error) { … } func parseMemInfo(r io.Reader) (*Meminfo, error) { … }