6
0
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:
Grzegorz Dlugoszewski
2020-06-12 20:19:05 +02:00
parent 823a522a97
commit 33ca245d3a
16 changed files with 15 additions and 16 deletions

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
package git package git
import ( import (
"git-get/cfg" "git-get/pkg/cfg"
"sort" "sort"
"strings" "strings"

View File

@@ -2,7 +2,7 @@ package path
import ( import (
"bufio" "bufio"
"git-get/git" "git-get/pkg/git"
"os" "os"
"strings" "strings"

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
package path package path
import ( import (
"git-get/cfg" "git-get/pkg/cfg"
"testing" "testing"
) )

View File

@@ -2,7 +2,7 @@ package print
import ( import (
"fmt" "fmt"
"git-get/git" "git-get/pkg/git"
"path/filepath" "path/filepath"
"strings" "strings"
) )

View File

@@ -2,7 +2,7 @@ package print
import ( import (
"fmt" "fmt"
"git-get/git" "git-get/pkg/git"
"strings" "strings"
) )

View File

@@ -1,7 +1,7 @@
package print package print
import ( import (
"git-get/git" "git-get/pkg/git"
"path/filepath" "path/filepath"
"strings" "strings"

View File

@@ -2,7 +2,7 @@ package print
import ( import (
"fmt" "fmt"
"git-get/git" "git-get/pkg/git"
"strings" "strings"
"testing" "testing"
) )