1
0
forked from um/cli

refactor: change module path

This commit is contained in:
Unlock Music Dev 2022-11-19 07:44:44 +08:00
parent 6f1cdc5b4f
commit 14c9d49d46
Signed by untrusted user: um-dev
GPG Key ID: 95202E10D3413A1D
10 changed files with 19 additions and 18 deletions

View File

@ -4,7 +4,7 @@ import (
"fmt"
"io"
"github.com/unlock-music/cli/algo/common"
"unlock-music.dev/cli/algo/common"
)
type Decoder struct {

View File

@ -4,7 +4,7 @@ import (
"crypto/md5"
"fmt"
"github.com/unlock-music/cli/algo/common"
"unlock-music.dev/cli/algo/common"
)
// kgmCryptoV3 is kgm file crypto v3

View File

@ -9,7 +9,7 @@ import (
"strings"
"unicode"
"github.com/unlock-music/cli/algo/common"
"unlock-music.dev/cli/algo/common"
)
const magicHeader = "yeelion-kuwo-tme"

View File

@ -1,8 +1,9 @@
package ncm
import (
"github.com/unlock-music/cli/algo/common"
"strings"
"unlock-music.dev/cli/algo/common"
)
type RawMeta interface {

View File

@ -12,8 +12,8 @@ import (
"net/http"
"strings"
"github.com/unlock-music/cli/algo/common"
"github.com/unlock-music/cli/internal/utils"
"unlock-music.dev/cli/algo/common"
"unlock-music.dev/cli/internal/utils"
)
const magicHeader = "CTENFDAM"

View File

@ -9,7 +9,7 @@ import (
"strconv"
"strings"
"github.com/unlock-music/cli/algo/common"
"unlock-music.dev/cli/algo/common"
)
type Decoder struct {

View File

@ -6,7 +6,7 @@ import (
"fmt"
"io"
"github.com/unlock-music/cli/algo/common"
"unlock-music.dev/cli/algo/common"
)
var replaceHeader = []byte{0x00, 0x00, 0x00, 0x20, 0x66, 0x74, 0x79, 0x70}

View File

@ -6,7 +6,7 @@ import (
"fmt"
"io"
"github.com/unlock-music/cli/algo/common"
"unlock-music.dev/cli/algo/common"
)
var (

View File

@ -16,14 +16,14 @@ import (
"github.com/urfave/cli/v2"
"go.uber.org/zap"
"github.com/unlock-music/cli/algo/common"
_ "github.com/unlock-music/cli/algo/kgm"
_ "github.com/unlock-music/cli/algo/kwm"
_ "github.com/unlock-music/cli/algo/ncm"
_ "github.com/unlock-music/cli/algo/qmc"
_ "github.com/unlock-music/cli/algo/tm"
_ "github.com/unlock-music/cli/algo/xm"
"github.com/unlock-music/cli/internal/logging"
"unlock-music.dev/cli/algo/common"
_ "unlock-music.dev/cli/algo/kgm"
_ "unlock-music.dev/cli/algo/kwm"
_ "unlock-music.dev/cli/algo/ncm"
_ "unlock-music.dev/cli/algo/qmc"
_ "unlock-music.dev/cli/algo/tm"
_ "unlock-music.dev/cli/algo/xm"
"unlock-music.dev/cli/internal/logging"
)
var AppVersion = "v0.0.6"

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/unlock-music/cli
module unlock-music.dev/cli
go 1.17