Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specifies the compression level support? #35

Open
warmchang opened this issue Aug 17, 2019 · 0 comments
Open

specifies the compression level support? #35

warmchang opened this issue Aug 17, 2019 · 0 comments

Comments

@warmchang
Copy link

warmchang commented Aug 17, 2019

gzip has diffrent compression level, go-bindata can support this?

https://github.com/golang/go/blob/f1deee0e8c5f31d86301fe3ec6554a93da0d7e42/src/compress/gzip/gzip.go#L19-L23
https://github.com/golang/go/blob/f1deee0e8c5f31d86301fe3ec6554a93da0d7e42/src/compress/gzip/gzip.go#L60

NewWriter() --> NewWriterLevel(), and add a para to go-bindata.

bfd := bufio.NewWriter(fd)

gz := gzip.NewWriter(&StringWriter{Writer: w})

gz := gzip.NewWriter(&StringWriter{Writer: w})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant