Beispiel #1
0
func main() {
	err := targz.Create("/Baidu/Project/canary/codecenter/src/eggs/packer.go", "stuff.tar.gz")
	if err != nil {
		log.Fatalln(err)
	}
}
Beispiel #2
0
func main() {
	err := targz.Create("/Users/kelseyhightower/stuff", "stuff.tar.gz")
	if err != nil {
		log.Fatalln(err)
	}
}