1
0
forked from um/cli

Fix incorrect package path

This commit is contained in:
Emmm Monster 2021-03-02 18:16:19 +08:00
parent 379b52295e
commit 939cfd38d0
No known key found for this signature in database
GPG Key ID: C98279C83FB50DB9
11 changed files with 22 additions and 22 deletions

View File

@ -4,8 +4,8 @@ import (
"bytes" "bytes"
"encoding/binary" "encoding/binary"
"errors" "errors"
"github.com/umlock-music/cli/algo/common" "github.com/unlock-music/cli/algo/common"
"github.com/umlock-music/cli/internal/logging" "github.com/unlock-music/cli/internal/logging"
) )
var ( var (

View File

@ -4,7 +4,7 @@ import (
"bytes" "bytes"
_ "embed" _ "embed"
"github.com/ulikunitz/xz" "github.com/ulikunitz/xz"
"github.com/umlock-music/cli/internal/logging" "github.com/unlock-music/cli/internal/logging"
"go.uber.org/zap" "go.uber.org/zap"
"io/ioutil" "io/ioutil"
) )

View File

@ -5,7 +5,7 @@ import (
"encoding/binary" "encoding/binary"
"errors" "errors"
"github.com/davecgh/go-spew/spew" "github.com/davecgh/go-spew/spew"
"github.com/umlock-music/cli/algo/common" "github.com/unlock-music/cli/algo/common"
"strconv" "strconv"
"strings" "strings"
"unicode" "unicode"

View File

@ -1,7 +1,7 @@
package ncm package ncm
import ( import (
"github.com/umlock-music/cli/algo/common" "github.com/unlock-music/cli/algo/common"
"strings" "strings"
) )

View File

@ -6,9 +6,9 @@ import (
"encoding/binary" "encoding/binary"
"encoding/json" "encoding/json"
"errors" "errors"
"github.com/umlock-music/cli/algo/common" "github.com/unlock-music/cli/algo/common"
"github.com/umlock-music/cli/internal/logging" "github.com/unlock-music/cli/internal/logging"
"github.com/umlock-music/cli/internal/utils" "github.com/unlock-music/cli/internal/utils"
"go.uber.org/zap" "go.uber.org/zap"
"io/ioutil" "io/ioutil"
"net/http" "net/http"

View File

@ -3,7 +3,7 @@ package qmc
import ( import (
"bytes" "bytes"
"errors" "errors"
"github.com/umlock-music/cli/internal/logging" "github.com/unlock-music/cli/internal/logging"
"go.uber.org/zap" "go.uber.org/zap"
) )

View File

@ -4,7 +4,7 @@ import (
"encoding/base64" "encoding/base64"
"encoding/binary" "encoding/binary"
"errors" "errors"
"github.com/umlock-music/cli/algo/common" "github.com/unlock-music/cli/algo/common"
) )
var ( var (

View File

@ -3,7 +3,7 @@ package tm
import ( import (
"bytes" "bytes"
"errors" "errors"
"github.com/umlock-music/cli/algo/common" "github.com/unlock-music/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}

View File

@ -3,8 +3,8 @@ package xm
import ( import (
"bytes" "bytes"
"errors" "errors"
"github.com/umlock-music/cli/algo/common" "github.com/unlock-music/cli/algo/common"
"github.com/umlock-music/cli/internal/logging" "github.com/unlock-music/cli/internal/logging"
"go.uber.org/zap" "go.uber.org/zap"
) )

View File

@ -2,14 +2,14 @@ package main
import ( import (
"errors" "errors"
"github.com/umlock-music/cli/algo/common" "github.com/unlock-music/cli/algo/common"
_ "github.com/umlock-music/cli/algo/kgm" _ "github.com/unlock-music/cli/algo/kgm"
_ "github.com/umlock-music/cli/algo/kwm" _ "github.com/unlock-music/cli/algo/kwm"
_ "github.com/umlock-music/cli/algo/ncm" _ "github.com/unlock-music/cli/algo/ncm"
_ "github.com/umlock-music/cli/algo/qmc" _ "github.com/unlock-music/cli/algo/qmc"
_ "github.com/umlock-music/cli/algo/tm" _ "github.com/unlock-music/cli/algo/tm"
_ "github.com/umlock-music/cli/algo/xm" _ "github.com/unlock-music/cli/algo/xm"
"github.com/umlock-music/cli/internal/logging" "github.com/unlock-music/cli/internal/logging"
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
"go.uber.org/zap" "go.uber.org/zap"
"log" "log"

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/umlock-music/cli module github.com/unlock-music/cli
go 1.16 go 1.16