code: func NewBytesSource(d []byte) Source {
  	return func() (io.ReadCloser, error) {
  		return ioutil.NopCloser(bytes.NewReader(d)), nil
  	}
  }
docs: // NewBytesSource returns a Source implementation that reads from the supplied
  // byte slice.