NewFileNotFoundError new a file not found error
(fileName string)
| 26 | |
| 27 | // NewFileNotFoundError new a file not found error |
| 28 | func NewFileNotFoundError(fileName string) error { |
| 29 | return FileNotFoundError{FileName: fileName} |
| 30 | } |
| 31 | |
| 32 | // UnZip do unzip |
| 33 | func UnZip(zipArchive *zip.ReadCloser, destDir string) error { |