code: func ReadManifest(r io.Reader) (manifest Manifest, err error) {
  	blob, err := ioutil.ReadAll(r)
  	if err == nil {
  		err = json.Unmarshal(blob, &manifest)
  	}
  	return
  }
docs: // ReadManifest reads and decodes manifest JSON from io.Reader.