You can just write using gzip.Writer as it implements io.Writer . Example: package main import ( "bytes" "compress/gzip" "fmt" "log" ) func ...
確定! 回上一頁