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

Accept range #1

Merged
merged 7 commits into from
Feb 12, 2023
Merged

Accept range #1

merged 7 commits into from
Feb 12, 2023

Conversation

aspacca
Copy link

@aspacca aspacca commented Feb 11, 2023

hello @ochaton

that's the outcome of my tests (gdrive and local storage)

for testing range with no limit, you can upload an audio or a video and go to the preview page

seeking thorugh the player should work properly

@@ -97,8 +109,12 @@ type Storage interface {
Type() string
}

func CloseCheck(f func() error) {
if err := f(); err != nil {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here f could could be (nil).Close() that will panic

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