mirror of
https://github.com/grdl/git-get.git
synced 2026-02-04 20:54:41 +00:00
Update incorrect module name - Go requires a domain-based path for public modules
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
package git
|
||||
|
||||
import (
|
||||
"git-get/pkg/run"
|
||||
"github.com/grdl/git-get/pkg/run"
|
||||
)
|
||||
|
||||
// ConfigGlobal represents a global gitconfig file.
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
package git
|
||||
|
||||
import (
|
||||
"git-get/pkg/git/test"
|
||||
"git-get/pkg/run"
|
||||
"testing"
|
||||
|
||||
"github.com/grdl/git-get/pkg/git/test"
|
||||
"github.com/grdl/git-get/pkg/run"
|
||||
)
|
||||
|
||||
// cfgStub represents a gitconfig file but instead of using a global one, it creates a temporary git repo and uses its local gitconfig.
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
package git
|
||||
|
||||
import (
|
||||
"git-get/pkg/git/test"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/grdl/git-get/pkg/git/test"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
||||
@@ -2,12 +2,13 @@ package git
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"git-get/pkg/run"
|
||||
"net/url"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/grdl/git-get/pkg/run"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
package git
|
||||
|
||||
import (
|
||||
"git-get/pkg/git/test"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"reflect"
|
||||
"strconv"
|
||||
"testing"
|
||||
|
||||
"github.com/grdl/git-get/pkg/git/test"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
||||
@@ -3,11 +3,12 @@ package test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"git-get/pkg/run"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"testing"
|
||||
|
||||
"github.com/grdl/git-get/pkg/run"
|
||||
)
|
||||
|
||||
// TempDir creates a temporary directory inside the parent dir.
|
||||
|
||||
Reference in New Issue
Block a user