Skip to content

federomero/zipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Zipper

Simple go package for downloading and zipping files.

Install

Install zipper by running the following command

go get github.com/federomero/zipper

Example

package main

import (
  "github.com/federomero/zipper"
  "os"
)

func main() {
  // List of files we want to include in the resulting zip file
  urls := []string{
    "http://raw.github.com/federomero/zipper/master/zipper.go",
    "http://raw.github.com/federomero/zipper/master/README.md",
  }

  fo, err := os.Create("output.zip")
  defer fo.Close()
  if err != nil { panic(err) }
  zipper.CreateZip(urls, fo)
}

About

Simple go package for downloading and zipping files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages