Golang 压缩Gzip数据 2017-06-11 本文已影响0人 QuinShuai Gzip数据压缩: var in bytes.Buffer w := gzip.NewWriter(&in) w.Write(data) w.Close()