Skip to content

Instantly share code, notes, and snippets.

@rolandvarga
Last active July 4, 2020 00:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rolandvarga/c06a97c0a8b8c18125b9922f9528ab4f to your computer and use it in GitHub Desktop.
Save rolandvarga/c06a97c0a8b8c18125b9922f9528ab4f to your computer and use it in GitHub Desktop.
func main() {
....
r, err := zip.OpenReader(cbz)
if err != nil {
fmt.Println(err)
os.Exit(1)
}
defer r.Close()
for _, f := range r.File {
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment