Skip to content

Instantly share code, notes, and snippets.

package main
import (
"container/vector"
"fmt"
"os"
"path"
)
type V struct {
include $(GOROOT)/src/Make.inc
CMDS=\
command-1\
command-2\
command-3
PKGS=\
package-1\
package-2\
@mrosset
mrosset / clientDoGzip.go
Created March 16, 2012 15:45 — forked from elazarl/clientDoGzip.go
Client.Do will not uncompress response body
package main
// run this file with `go run clientDoGzip.go, and then file tmp.out to verify body is gzipped
import "compress/gzip"
import "net/http"
import "fmt"
import "io"
import "log"
import "os"