6
0
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:
Grzegorz Dlugoszewski
2025-08-25 20:22:12 +02:00
parent 152e91444b
commit 0df82ba272
13 changed files with 33 additions and 23 deletions

View File

@@ -2,7 +2,7 @@
package git
import (
"git-get/pkg/run"
"github.com/grdl/git-get/pkg/run"
)
// ConfigGlobal represents a global gitconfig file.

View 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.

View File

@@ -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"
)

View File

@@ -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 (

View File

@@ -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"
)

View File

@@ -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.