Skip to content

Commit

Permalink
comment update for package gcompress
Browse files Browse the repository at this point in the history
  • Loading branch information
gqcn committed Sep 8, 2022
1 parent c272edd commit d6986a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions encoding/gcompress/gcompress_gzip.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ func GzipFile(src, dst string, level ...int) (err error) {
return GzipPathWriter(src, dstFile)
}

// GzipPathWriter compresses `paths` to `writer` using gzip compressing algorithm.
// GzipPathWriter compresses `path` to `writer` using gzip compressing algorithm.
//
// Note that the parameter `paths` can be either a directory or a file.
// Note that the parameter `path` can be either a directory or a file.
func GzipPathWriter(path string, writer io.Writer, level ...int) error {
var (
gzipWriter *gzip.Writer
Expand Down

0 comments on commit d6986a3

Please sign in to comment.