refactor: change module path
This commit is contained in:
parent
6f1cdc5b4f
commit
14c9d49d46
@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/unlock-music/cli/algo/common"
|
"unlock-music.dev/cli/algo/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Decoder struct {
|
type Decoder struct {
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"crypto/md5"
|
"crypto/md5"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/unlock-music/cli/algo/common"
|
"unlock-music.dev/cli/algo/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
// kgmCryptoV3 is kgm file crypto v3
|
// kgmCryptoV3 is kgm file crypto v3
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"unicode"
|
"unicode"
|
||||||
|
|
||||||
"github.com/unlock-music/cli/algo/common"
|
"unlock-music.dev/cli/algo/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
const magicHeader = "yeelion-kuwo-tme"
|
const magicHeader = "yeelion-kuwo-tme"
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
package ncm
|
package ncm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/unlock-music/cli/algo/common"
|
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"unlock-music.dev/cli/algo/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RawMeta interface {
|
type RawMeta interface {
|
||||||
|
@ -12,8 +12,8 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/unlock-music/cli/algo/common"
|
"unlock-music.dev/cli/algo/common"
|
||||||
"github.com/unlock-music/cli/internal/utils"
|
"unlock-music.dev/cli/internal/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
const magicHeader = "CTENFDAM"
|
const magicHeader = "CTENFDAM"
|
||||||
|
@ -9,7 +9,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/unlock-music/cli/algo/common"
|
"unlock-music.dev/cli/algo/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Decoder struct {
|
type Decoder struct {
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"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}
|
var replaceHeader = []byte{0x00, 0x00, 0x00, 0x20, 0x66, 0x74, 0x79, 0x70}
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/unlock-music/cli/algo/common"
|
"unlock-music.dev/cli/algo/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -16,14 +16,14 @@ import (
|
|||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
|
|
||||||
"github.com/unlock-music/cli/algo/common"
|
"unlock-music.dev/cli/algo/common"
|
||||||
_ "github.com/unlock-music/cli/algo/kgm"
|
_ "unlock-music.dev/cli/algo/kgm"
|
||||||
_ "github.com/unlock-music/cli/algo/kwm"
|
_ "unlock-music.dev/cli/algo/kwm"
|
||||||
_ "github.com/unlock-music/cli/algo/ncm"
|
_ "unlock-music.dev/cli/algo/ncm"
|
||||||
_ "github.com/unlock-music/cli/algo/qmc"
|
_ "unlock-music.dev/cli/algo/qmc"
|
||||||
_ "github.com/unlock-music/cli/algo/tm"
|
_ "unlock-music.dev/cli/algo/tm"
|
||||||
_ "github.com/unlock-music/cli/algo/xm"
|
_ "unlock-music.dev/cli/algo/xm"
|
||||||
"github.com/unlock-music/cli/internal/logging"
|
"unlock-music.dev/cli/internal/logging"
|
||||||
)
|
)
|
||||||
|
|
||||||
var AppVersion = "v0.0.6"
|
var AppVersion = "v0.0.6"
|
||||||
|
Loading…
Reference in New Issue
Block a user