code: func (a Archive) Add(name, path string) (err error) {
  	file, err := os.Open(path) // #nosec
  	if err != nil {
  		return
  	}
  	defer file.Close() // nolint: errcheck
  	info, err := file.Stat()
  	if err != nil {
  		return
  	}
  	if info.IsDir() {
  		return
  	}
  	header, err := zip.FileInfoHeader(info)
  	if err != nil {
  		return err
  	}
  	header.Name = name
  	header.Method = zip.Deflate
  	w, err := a.z.CreateHeader(header)
  	if err != nil {
  		return err
  	}
  	_, err = io.Copy(w, file)
  	return err
  }
docs: // Add a file to the zip archive