Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit57b77e5

Browse files
authored
Merge pull request#113 from create-go-app/dev
Fix project problem (GoLand)
2 parents9323c31 +5d5815b commit57b77e5

File tree

16 files changed

+43
-22
lines changed

16 files changed

+43
-22
lines changed

‎.dockerignore‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ LICENSE
1414
# Folders
1515
.git/
1616
.github/
17+
.vscode/
18+
.idea/
1719
tmp/

‎.gitignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# macOS
22
**/.DS_Store
33

4+
# IDE
5+
.vscode/
6+
.idea/
7+
48
# Dev builds
59
**/build/
610
**/dist/

‎.goreleaser.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ brews:
3333
owner:create-go-app
3434
name:homebrew-cli
3535

36-
# Template for the url which is determined by the given Token (github or gitlab)
36+
# Template for the url which is determined by the given Token (GitHub or gitlab)
3737
# Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
3838
url_template:"https://github.com/create-go-app/cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
3939

‎LICENSE‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright2021 Vic Shóstak and Create Go App Contributors
189+
Copyright2022 Vic Shóstak and Create Go App Contributors
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

‎cmd/create.go‎

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

1212
"github.com/AlecAivazis/survey/v2"
13+
"github.com/spf13/cobra"
14+
1315
"github.com/create-go-app/cli/v3/pkg/cgapp"
1416
"github.com/create-go-app/cli/v3/pkg/registry"
15-
"github.com/spf13/cobra"
1617
)
1718

1819
funcinit() {

‎cmd/deploy.go‎

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

11+
"github.com/spf13/cobra"
12+
1113
"github.com/create-go-app/cli/v3/pkg/cgapp"
1214
"github.com/create-go-app/cli/v3/pkg/registry"
13-
"github.com/spf13/cobra"
1415
)
1516

1617
funcinit() {

‎cmd/root.go‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ package cmd
66

77
import (
88
"github.com/AlecAivazis/survey/v2"
9+
"github.com/spf13/cobra"
10+
911
"github.com/create-go-app/cli/v3/pkg/cgapp"
1012
"github.com/create-go-app/cli/v3/pkg/registry"
11-
"github.com/spf13/cobra"
1213
)
1314

1415
var (
@@ -39,8 +40,8 @@ var rootCmd = &cobra.Command{
3940
Long:`
4041
A powerful CLI for the Create Go App project.
4142
42-
Create a new production-ready project with backend (Golang),
43-
frontend (JavaScript, TypeScript) and deploy automation
43+
Create a new production-ready project with backend (Golang),
44+
frontend (JavaScript, TypeScript) and deploy automation
4445
(Ansible, Docker) by running one CLI command.
4546
4647
-> Focus on writing code and thinking of business logic!

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111

1212
require (
1313
github.com/Microsoft/go-winiov0.5.1// indirect
14-
github.com/ProtonMail/go-cryptov0.0.0-20211112122917-428f8eabeeb3// indirect
14+
github.com/ProtonMail/go-cryptov0.0.0-20211221144345-a4f6767435ab// indirect
1515
github.com/acomagu/bufpipev1.0.3// indirect
1616
github.com/emirpasic/godsv1.12.0// indirect
1717
github.com/go-git/gcfgv1.5.0// indirect

‎go.sum‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8 h1:xzYJEypr/85nB
6060
github.com/Netflix/go-expectv0.0.0-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc=
6161
github.com/OneOfOne/xxhashv1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
6262
github.com/ProtonMail/go-cryptov0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo=
63-
github.com/ProtonMail/go-cryptov0.0.0-20211112122917-428f8eabeeb3 h1:XcF0cTDJeiuZ5NU8w7WUDge0HRwwNRmxj/GGk6KSA6g=
64-
github.com/ProtonMail/go-cryptov0.0.0-20211112122917-428f8eabeeb3/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo=
63+
github.com/ProtonMail/go-cryptov0.0.0-20211221144345-a4f6767435ab h1:5FiL/TCaiKCss/BLMIACDxxadYrx767l9kh0qYX+sLQ=
64+
github.com/ProtonMail/go-cryptov0.0.0-20211221144345-a4f6767435ab/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo=
6565
github.com/acomagu/bufpipev1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk=
6666
github.com/acomagu/bufpipev1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
6767
github.com/alecthomas/templatev0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=

‎pkg/cgapp/exec.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
funcExecCommand(commandstring,options []string,silentModebool)error {
1616
// Checking for nil.
1717
ifcommand==""||options==nil {
18-
returnfmt.Errorf("No command to execute!")
18+
returnfmt.Errorf("no command to execute")
1919
}
2020

2121
// Create buffer for stderr.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp