Skip to content

Commit 8ffbb3c

Browse files
committed
chore: update import paths
1 parent d5014b0 commit 8ffbb3c

File tree

9 files changed

+20
-24
lines changed

9 files changed

+20
-24
lines changed

cmd/up.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"github.com/mitchellh/go-homedir"
88
"github.com/spf13/cobra"
99

10-
"github.com/stormcat24/protodep/pkg/logger"
11-
"github.com/stormcat24/protodep/pkg/resolver"
10+
"github.com/sig-0/protodep/pkg/logger"
11+
"github.com/sig-0/protodep/pkg/resolver"
1212
)
1313

1414
var upCmd = &cobra.Command{

cmd/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"github.com/spf13/cobra"
66

7-
"github.com/stormcat24/protodep/version"
7+
"github.com/sig-0/protodep/version"
88
)
99

1010
const art = `

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ require (
1212
github.com/mattn/go-isatty v0.0.19
1313
github.com/mitchellh/go-homedir v1.1.0
1414
github.com/spf13/cobra v1.7.0
15-
github.com/stormcat24/protodep v0.1.8
1615
github.com/stretchr/testify v1.8.4
1716
)
1817

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I=
8080
github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0=
8181
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
8282
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
83-
github.com/stormcat24/protodep v0.1.8 h1:FOycjjkjZiastf21aRoCjtoVdhsoBE8mZ0RvY6AHqFE=
84-
github.com/stormcat24/protodep v0.1.8/go.mod h1:6OoSZD5GGomKfmH1LvfJxNIRvYhewFXH5+eNv8h4wOM=
8583
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
8684
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
8785
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/stormcat24/protodep/cmd"
4+
"github.com/sig-0/protodep/cmd"
55
)
66

77
func main() {

pkg/auth/auth_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ import (
88

99
func TestGetRepositoryURLWithSSH(t *testing.T) {
1010
target := &AuthProviderWithSSH{}
11-
actual := target.GetRepositoryURL("github.com/stormcat24/protodep")
11+
actual := target.GetRepositoryURL("github.com/sig-0/protodep")
1212

13-
require.Equal(t, "ssh://github.com/stormcat24/protodep.git", actual)
13+
require.Equal(t, "ssh://github.com/sig-0/protodep.git", actual)
1414
}
1515

1616
func TestGetRepositoryURLWithSSHAgent(t *testing.T) {
1717
target := &AuthProviderWithSSHAgent{}
18-
actual := target.GetRepositoryURL("github.com/stormcat24/protodep")
18+
actual := target.GetRepositoryURL("github.com/sig-0/protodep")
1919

20-
require.Equal(t, "ssh://github.com/stormcat24/protodep.git", actual)
20+
require.Equal(t, "ssh://github.com/sig-0/protodep.git", actual)
2121
}
2222

2323
func TestGetRepositoryURLHTTPS(t *testing.T) {
2424
target := &AuthProviderHTTPS{}
25-
actual := target.GetRepositoryURL("github.com/stormcat24/protodep")
25+
actual := target.GetRepositoryURL("github.com/sig-0/protodep")
2626

27-
require.Equal(t, "https://github.com/stormcat24/protodep.git", actual)
27+
require.Equal(t, "https://github.com/sig-0/protodep.git", actual)
2828
}

pkg/repository/git.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"github.com/go-git/go-git/v5"
99
"github.com/go-git/go-git/v5/plumbing"
1010

11-
"github.com/stormcat24/protodep/pkg/auth"
12-
"github.com/stormcat24/protodep/pkg/config"
13-
"github.com/stormcat24/protodep/pkg/logger"
11+
"github.com/sig-0/protodep/pkg/auth"
12+
"github.com/sig-0/protodep/pkg/config"
13+
"github.com/sig-0/protodep/pkg/logger"
1414
)
1515

1616
type Git interface {
@@ -132,7 +132,7 @@ func (r *github) Open() (*OpenedRepository, error) {
132132
}
133133

134134
if err := wt.Checkout(&opts); err != nil {
135-
return nil, fmt.Errorf( "checkout to %s: %w", revision, err)
135+
return nil, fmt.Errorf("checkout to %s: %w", revision, err)
136136
}
137137
}
138138

pkg/resolver/resolver.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99

1010
"github.com/BurntSushi/toml"
1111
"github.com/gobwas/glob"
12-
"github.com/stormcat24/protodep/pkg/auth"
13-
"github.com/stormcat24/protodep/pkg/config"
14-
"github.com/stormcat24/protodep/pkg/logger"
15-
"github.com/stormcat24/protodep/pkg/repository"
12+
"github.com/sig-0/protodep/pkg/auth"
13+
"github.com/sig-0/protodep/pkg/config"
14+
"github.com/sig-0/protodep/pkg/logger"
15+
"github.com/sig-0/protodep/pkg/repository"
1616
)
1717

1818
type protoResource struct {

pkg/resolver/resolver_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import (
1111
"github.com/mitchellh/go-homedir"
1212
"github.com/stretchr/testify/require"
1313

14-
"github.com/stormcat24/protodep/pkg/auth"
15-
"github.com/stormcat24/protodep/pkg/config"
14+
"github.com/sig-0/protodep/pkg/auth"
15+
"github.com/sig-0/protodep/pkg/config"
1616
)
1717

1818
func TestSync(t *testing.T) {
@@ -98,7 +98,6 @@ func TestSync(t *testing.T) {
9898
t.Error("not found file [proto/protodep/hierarchy/fuga/fuga.proto]")
9999
}
100100

101-
102101
// fetch
103102
err = target.Resolve(false, false)
104103
require.NoError(t, err)

0 commit comments

Comments
 (0)