code: func (z *Zip) AddFile(path string, file *os.File) error {
  	path = strings.Replace(path, "\\", "/", -1)
  
  	z.lock.Lock()
  	defer z.lock.Unlock()
  
  	info, err := file.Stat()
  	if err != nil {
  		return err
  	}
  
  	if !info.Mode().IsRegular() {
  		return errors.New("Only regular files supported: " + path)
  	}
  
  	header, err := zip.FileInfoHeader(info)
  	if err != nil {
  		return err
  	}
  	header.Name = path
  	header.Method = zip.Deflate
  	header.SetModTime(time.Unix(0, 0))
  
  	zippedFile, err := z.writer.CreateHeader(header)
  	if err != nil {
  		return err
  	}
  
  	_, err = io.Copy(zippedFile, file)
  	return err
  }
docs: // AddFile adds a file to archive.
  // AddFile resets mtime.