As it is, you can't really test this function since the file reading is not separated from the parsing. You could either split it up like this:

```
func getMemInfo() (map[string]string, error) {
  fh, err := os.Open(procMemInfo)
  if err != nil {
    return nil, err
  }
  parseMemInfo(fh)
}
```

...or alternatively at least pass in the filename into the get* function. Either way you could then add tests, which I'd highly recommend with this parsing business :) I'd basically add one well-formed test file for each of these parsing functions (getMemInfo, getInterrupts, ...) and check that they return expected values (to a reasonable degree). This will help anyone making changes in the future to understand the code and to know if they are breaking anything.