We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If I add a zip file, and want to unzip it, the zip.NewReader takes a io.ReaderAt.
zip.NewReader
io.ReaderAt
There is a workaround: I ask for the bytes of the file from rice and then create bytes.NewReader
bytes.NewReader
fileBytes, err := box.Bytes("filename") if err != nil { panic(err) } zr, err := zip.NewReader(bytes.NewReader(fileBytes), int64(len(fileBytes))) ...
But it would be great if I can use just rice.File for this.
rice.File
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If I add a zip file, and want to unzip it, the
zip.NewReader
takes aio.ReaderAt
.There is a workaround: I ask for the bytes of the file from rice and then create
bytes.NewReader
But it would be great if I can use just
rice.File
for this.The text was updated successfully, but these errors were encountered: