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:
Masayuki Matsuki 2020-01-24 21:24:59 +09:00 committed by GitHub
commit 3a5500a2ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 16 additions and 16 deletions

View file

@ -10,7 +10,7 @@ import (
"sync"
"testing"
"github.com/motemen/ghq/cmdutil"
"github.com/x-motemen/ghq/cmdutil"
)
func TestDoCreate(t *testing.T) {

View file

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

View file

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

View file

@ -7,7 +7,7 @@ import (
"os/exec"
"strings"
"github.com/motemen/ghq/logger"
"github.com/x-motemen/ghq/logger"
)
// Run the command

View file

@ -8,7 +8,7 @@ import (
"strings"
"sync"
"github.com/motemen/ghq/logger"
"github.com/x-motemen/ghq/logger"
)
var (

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/motemen/ghq
module github.com/x-motemen/ghq
go 1.13

View file

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

View file

@ -4,7 +4,7 @@ import (
"fmt"
"os"
"github.com/motemen/ghq/logger"
"github.com/x-motemen/ghq/logger"
"github.com/urfave/cli/v2"
)

View file

@ -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
View file

@ -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
View file

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

View file

@ -8,7 +8,7 @@ import (
"reflect"
"testing"
"github.com/motemen/ghq/cmdutil"
"github.com/x-motemen/ghq/cmdutil"
)
var (