Skip to main content

Archive

How to zip and unzip a directory in Go
Hello everyone! 👋 I wanted to write a short article about zipping and unzipping a directory in Golang. The answer is quite simple, you can use the AddFS to add the entire directory to the zip file like so: