Update module to v2

This commit is contained in:
bytedream 2022-05-01 13:25:43 +02:00
parent a49e65e151
commit 80b0784f50
9 changed files with 12 additions and 12 deletions

View file

@ -8,8 +8,8 @@ import (
"compress/gzip"
"context"
"fmt"
"github.com/ByteDream/crunchyroll-go"
"github.com/ByteDream/crunchyroll-go/utils"
"github.com/ByteDream/crunchyroll-go/v2"
"github.com/ByteDream/crunchyroll-go/v2/utils"
"github.com/grafov/m3u8"
"github.com/spf13/cobra"
"io"

View file

@ -3,8 +3,8 @@ package cmd
import (
"context"
"fmt"
"github.com/ByteDream/crunchyroll-go"
"github.com/ByteDream/crunchyroll-go/utils"
"github.com/ByteDream/crunchyroll-go/v2"
"github.com/ByteDream/crunchyroll-go/v2/utils"
"github.com/grafov/m3u8"
"github.com/spf13/cobra"
"os"

View file

@ -2,7 +2,7 @@ package cmd
import (
"fmt"
"github.com/ByteDream/crunchyroll-go"
"github.com/ByteDream/crunchyroll-go/v2"
"github.com/spf13/cobra"
"os"
"os/user"

View file

@ -3,7 +3,7 @@ package cmd
import (
"context"
"fmt"
"github.com/ByteDream/crunchyroll-go"
"github.com/ByteDream/crunchyroll-go/v2"
"github.com/spf13/cobra"
"net/http"
"os"

View file

@ -2,8 +2,8 @@ package cmd
import (
"fmt"
"github.com/ByteDream/crunchyroll-go"
"github.com/ByteDream/crunchyroll-go/utils"
"github.com/ByteDream/crunchyroll-go/v2"
"github.com/ByteDream/crunchyroll-go/v2/utils"
"net/http"
"net/url"
"os"

View file

@ -1,7 +1,7 @@
package main
import (
"github.com/ByteDream/crunchyroll-go/cmd/crunchyroll-go/cmd"
"github.com/ByteDream/crunchyroll-go/v2/cmd/crunchyroll-go/cmd"
)
func main() {