Upgrage nio v2 to v3

This commit is contained in:
nxshock 2021-09-18 14:46:07 +05:00
parent bbb8b803ff
commit 1ea8e7cb7c
3 changed files with 13 additions and 6 deletions

View file

@ -8,7 +8,7 @@ import (
"os/exec"
"gopkg.in/djherbis/buffer.v1"
"gopkg.in/djherbis/nio.v2"
"github.com/djherbis/nio/v3"
)
func stream(url string, w http.ResponseWriter) error {