Golang archive/zip.OpenReader() function usage example
package archive/zip
OpenReader will open the Zip file specified by name and return a ReadCloser.
zip.OpenReader() usage example
read, err := zip.OpenReader(“files.zip”)
if err != nil {
fmt.Println(err)
}
defer read.Close()
See also : Golang archive/zip.ReadCloser.Close() function usage example
Advertisement
Something interesting
Tutorials
+37.7k Golang : Comparing date or timestamp
+6k Golang : Compound interest over time example
+35.5k Golang : Smarter Error Handling with strings.Contains()
+5.9k Golang : Shuffle array of list
+5.6k Python : Print unicode escape characters and string
+41.9k Golang : How do I convert int to uint8?
+7.4k Golang : Word limiter example
+10.6k Golang : Simple File Server
+9.4k Golang : Play .WAV file from command line
+41.4k Golang : Convert string to array/slice
+18.4k Golang : How to remove certain lines from a file
+6k Golang : Function as an argument type example