Skip to content

Commit e730d6c

Browse files
committed
feat: change the cmd layout for go install
Signed-off-by: Gaius <[email protected]>
1 parent b607fde commit e730d6c

File tree

13 files changed

+44
-11
lines changed

13 files changed

+44
-11
lines changed

.DS_Store

6 KB
Binary file not shown.

.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,36 @@ go.work.sum
2323

2424
# env file
2525
.env
26+
27+
### macOS ###
28+
# General
29+
.DS_Store
30+
.AppleDouble
31+
.LSOverride
32+
33+
# Icon must end with two \r
34+
Icon
35+
36+
37+
# Thumbnails
38+
._*
39+
40+
# Files that might appear in the root of a volume
41+
.DocumentRevisions-V100
42+
.fseventsd
43+
.Spotlight-V100
44+
.TemporaryItems
45+
.Trashes
46+
.VolumeIcon.icns
47+
.com.apple.timemachine.donotpresent
48+
49+
# Directories potentially created on remote AFP share
50+
.AppleDB
51+
.AppleDesktop
52+
Network Trash Folder
53+
Temporary Items
54+
.apdisk
55+
56+
### macOS Patch ###
57+
# iCloud generated files
58+
*.icloud

cmd/.DS_Store

6 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package modctl
17+
package cmd
1818

1919
import (
2020
"context"

cmd/modctl/list.go renamed to cmd/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package modctl
17+
package cmd
1818

1919
import (
2020
"context"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package modctl
17+
package cmd
1818

1919
import (
2020
"bufio"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package modctl
17+
package cmd
1818

1919
import (
2020
"context"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package modctl
17+
package cmd
1818

1919
import (
2020
"context"

cmd/modctl/pull.go renamed to cmd/pull.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package modctl
17+
package cmd
1818

1919
import (
2020
"context"

cmd/modctl/push.go renamed to cmd/push.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package modctl
17+
package cmd
1818

1919
import (
2020
"context"

0 commit comments

Comments
 (0)