mirror of
https://github.com/x-motemen/ghq.git
synced 2026-09-10 07:26:27 -04:00
Merge pull request #275 from x-motemen/module
update module name to github.com/x-motemen/ghq and fix import paths
This commit is contained in:
commit
3a5500a2ea
|
|
@ -10,7 +10,7 @@ import (
|
|||
"sync"
|
||||
"testing"
|
||||
|
||||
"github.com/motemen/ghq/cmdutil"
|
||||
"github.com/x-motemen/ghq/cmdutil"
|
||||
)
|
||||
|
||||
func TestDoCreate(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ import (
|
|||
"sync"
|
||||
|
||||
"github.com/mattn/go-isatty"
|
||||
"github.com/motemen/ghq/cmdutil"
|
||||
"github.com/motemen/ghq/logger"
|
||||
"github.com/x-motemen/ghq/cmdutil"
|
||||
"github.com/x-motemen/ghq/logger"
|
||||
"github.com/urfave/cli/v2"
|
||||
"golang.org/x/sync/errgroup"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/Songmu/gitconfig"
|
||||
"github.com/motemen/ghq/cmdutil"
|
||||
"github.com/motemen/ghq/logger"
|
||||
"github.com/x-motemen/ghq/cmdutil"
|
||||
"github.com/x-motemen/ghq/logger"
|
||||
)
|
||||
|
||||
func TestCommandGet(t *testing.T) {
|
||||
|
|
@ -240,7 +240,7 @@ func TestLook(t *testing.T) {
|
|||
|
||||
func TestDoGet_bulk(t *testing.T) {
|
||||
in := []string{
|
||||
"github.com/motemen/ghq",
|
||||
"github.com/x-motemen/ghq",
|
||||
"github.com/motemen/gore",
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import (
|
|||
"os/exec"
|
||||
"strings"
|
||||
|
||||
"github.com/motemen/ghq/logger"
|
||||
"github.com/x-motemen/ghq/logger"
|
||||
)
|
||||
|
||||
// Run the command
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/motemen/ghq/logger"
|
||||
"github.com/x-motemen/ghq/logger"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
2
go.mod
2
go.mod
|
|
@ -1,4 +1,4 @@
|
|||
module github.com/motemen/ghq
|
||||
module github.com/x-motemen/ghq
|
||||
|
||||
go 1.13
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import (
|
|||
"sync"
|
||||
|
||||
"github.com/Songmu/gitconfig"
|
||||
"github.com/motemen/ghq/logger"
|
||||
"github.com/x-motemen/ghq/logger"
|
||||
"github.com/saracen/walker"
|
||||
)
|
||||
|
||||
|
|
|
|||
2
main.go
2
main.go
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/motemen/ghq/logger"
|
||||
"github.com/x-motemen/ghq/logger"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import (
|
|||
"strings"
|
||||
|
||||
"github.com/Songmu/gitconfig"
|
||||
"github.com/motemen/ghq/cmdutil"
|
||||
"github.com/motemen/ghq/logger"
|
||||
"github.com/x-motemen/ghq/cmdutil"
|
||||
"github.com/x-motemen/ghq/logger"
|
||||
)
|
||||
|
||||
// A RemoteRepository represents a remote repository.
|
||||
|
|
|
|||
2
url.go
2
url.go
|
|
@ -10,7 +10,7 @@ import (
|
|||
"strings"
|
||||
|
||||
"github.com/Songmu/gitconfig"
|
||||
"github.com/motemen/ghq/logger"
|
||||
"github.com/x-motemen/ghq/logger"
|
||||
)
|
||||
|
||||
// Convert SCP-like URL to SSH URL(e.g. [user@]host.xz:path/to/repo.git/)
|
||||
|
|
|
|||
2
vcs.go
2
vcs.go
|
|
@ -12,7 +12,7 @@ import (
|
|||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/motemen/ghq/cmdutil"
|
||||
"github.com/x-motemen/ghq/cmdutil"
|
||||
)
|
||||
|
||||
func run(silent bool) func(command string, args ...string) error {
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/motemen/ghq/cmdutil"
|
||||
"github.com/x-motemen/ghq/cmdutil"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
Loading…
Reference in a new issue