Skip to content

Commit e50cc02

Browse files
authored
Merge pull request mislav#2518 from novas0x2a/pathv2
add /v2 to the module name to resolve the module path problem Fixes mislav#2517
2 parents d5dc536 + c4dfa59 commit e50cc02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+151
-151
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ bin/hub: $(SOURCES)
5151
script/build -o $@
5252

5353
bin/md2roff: $(SOURCES)
54-
go build -o $@ github.com/github/hub/md2roff-bin
54+
go build -o $@ github.com/github/hub/v2/md2roff-bin
5555

5656
test:
5757
go test ./...

cmd/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"strings"
99
"syscall"
1010

11-
"github.com/github/hub/ui"
11+
"github.com/github/hub/v2/ui"
1212
)
1313

1414
// Cmd is a project-wide struct that represents a command to be run in the console.

cmd/cmd_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package cmd
33
import (
44
"testing"
55

6-
"github.com/github/hub/internal/assert"
6+
"github.com/github/hub/v2/internal/assert"
77
)
88

99
func TestNew(t *testing.T) {

commands/alias.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"regexp"
88
"strings"
99

10-
"github.com/github/hub/ui"
11-
"github.com/github/hub/utils"
10+
"github.com/github/hub/v2/ui"
11+
"github.com/github/hub/v2/utils"
1212
)
1313

1414
var cmdAlias = &Command{

commands/api.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"strings"
1212
"time"
1313

14-
"github.com/github/hub/github"
15-
"github.com/github/hub/ui"
16-
"github.com/github/hub/utils"
14+
"github.com/github/hub/v2/github"
15+
"github.com/github/hub/v2/ui"
16+
"github.com/github/hub/v2/utils"
1717
)
1818

1919
var cmdAPI = &Command{

commands/apply.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"os"
77
"regexp"
88

9-
"github.com/github/hub/github"
10-
"github.com/github/hub/utils"
9+
"github.com/github/hub/v2/github"
10+
"github.com/github/hub/v2/utils"
1111
)
1212

1313
var cmdApply = &Command{

commands/args.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"strings"
66

7-
"github.com/github/hub/cmd"
8-
"github.com/github/hub/utils"
7+
"github.com/github/hub/v2/cmd"
8+
"github.com/github/hub/v2/utils"
99
)
1010

1111
type Args struct {

commands/args_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package commands
33
import (
44
"testing"
55

6-
"github.com/github/hub/internal/assert"
6+
"github.com/github/hub/v2/internal/assert"
77
)
88

99
func TestNewArgs(t *testing.T) {

commands/browse.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"net/url"
66
"strings"
77

8-
"github.com/github/hub/github"
9-
"github.com/github/hub/utils"
8+
"github.com/github/hub/v2/github"
9+
"github.com/github/hub/v2/utils"
1010
)
1111

1212
var cmdBrowse = &Command{

commands/checkout.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"fmt"
55
"regexp"
66

7-
"github.com/github/hub/git"
8-
"github.com/github/hub/github"
9-
"github.com/github/hub/utils"
7+
"github.com/github/hub/v2/git"
8+
"github.com/github/hub/v2/github"
9+
"github.com/github/hub/v2/utils"
1010
)
1111

1212
var cmdCheckout = &Command{

0 commit comments

Comments
 (0)