mirror of
https://github.com/grdl/git-get.git
synced 2026-02-08 13:24:18 +00:00
Refactor pkg directory back
This commit is contained in:
@@ -2,12 +2,11 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git-get/cfg"
|
"git-get/pkg/cfg"
|
||||||
"git-get/git"
|
"git-get/pkg/git"
|
||||||
"git-get/path"
|
"git-get/pkg/path"
|
||||||
"git-get/print"
|
"git-get/pkg/print"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
pathpkg "path"
|
pathpkg "path"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
@@ -2,7 +2,7 @@ package git
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git-get/cfg"
|
"git-get/pkg/cfg"
|
||||||
|
|
||||||
"github.com/go-git/go-git/v5/plumbing"
|
"github.com/go-git/go-git/v5/plumbing"
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package git
|
package git
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git-get/cfg"
|
"git-get/pkg/cfg"
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@ package path
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"git-get/git"
|
"git-get/pkg/git"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@@ -2,8 +2,8 @@ package path
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git-get/cfg"
|
"git-get/pkg/cfg"
|
||||||
"git-get/git"
|
"git-get/pkg/git"
|
||||||
"os"
|
"os"
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package path
|
package path
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git-get/cfg"
|
"git-get/pkg/cfg"
|
||||||
urlpkg "net/url"
|
urlpkg "net/url"
|
||||||
"path"
|
"path"
|
||||||
"regexp"
|
"regexp"
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package path
|
package path
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git-get/cfg"
|
"git-get/pkg/cfg"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@ package print
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git-get/git"
|
"git-get/pkg/git"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
@@ -2,7 +2,7 @@ package print
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git-get/git"
|
"git-get/pkg/git"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package print
|
package print
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git-get/git"
|
"git-get/pkg/git"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@ package print
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"git-get/git"
|
"git-get/pkg/git"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
Reference in New Issue
Block a user