Skip to content

Commit 6b5ee3a

Browse files
committed
Fix v2 version
1 parent 2565688 commit 6b5ee3a

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ First of all, [download](https://golang.org/dl/) and install **Go**. Version `1.
1313
Installation is done by using the [`go install`](https://golang.org/cmd/go/#hdr-Compile_and_install_packages_and_dependencies) command and rename installed binary in `$GOPATH/bin`:
1414

1515
```bash
16-
go install github.com/create-go-app/cli/cmd/cgapp@latest
16+
go install github.com/create-go-app/cli/v2/cmd/cgapp
1717
```
1818

1919
Also, macOS and GNU/Linux users available way to install via [Homebrew](https://brew.sh/):

cmd/cgapp/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ limitations under the License.
2626
*/
2727
package main
2828

29-
import "github.com/create-go-app/cli/cmd"
29+
import "github.com/create-go-app/cli/v2/cmd"
3030

3131
func main() {
3232
cmd.Execute()

cmd/create.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"time"
1111

1212
"github.com/AlecAivazis/survey/v2"
13-
"github.com/create-go-app/cli/pkg/cgapp"
14-
"github.com/create-go-app/cli/pkg/registry"
13+
"github.com/create-go-app/cli/v2/pkg/cgapp"
14+
"github.com/create-go-app/cli/v2/pkg/registry"
1515
"github.com/spf13/cobra"
1616
)
1717

cmd/deploy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"fmt"
99
"time"
1010

11-
"github.com/create-go-app/cli/pkg/cgapp"
12-
"github.com/create-go-app/cli/pkg/registry"
11+
"github.com/create-go-app/cli/v2/pkg/cgapp"
12+
"github.com/create-go-app/cli/v2/pkg/registry"
1313
"github.com/spf13/cobra"
1414
)
1515

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package cmd
66

77
import (
88
"github.com/AlecAivazis/survey/v2"
9-
"github.com/create-go-app/cli/pkg/registry"
9+
"github.com/create-go-app/cli/v2/pkg/registry"
1010
"github.com/spf13/cobra"
1111
)
1212

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/create-go-app/cli
1+
module github.com/create-go-app/cli/v2
22

33
go 1.16
44

pkg/cgapp/files_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os"
66
"testing"
77

8-
"github.com/create-go-app/cli/pkg/registry"
8+
"github.com/create-go-app/cli/v2/pkg/registry"
99
)
1010

1111
func TestMakeFile(t *testing.T) {

0 commit comments

Comments
 (0)