Skip to content

Commit 9d3b285

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

File tree

12 files changed

+11
-11
lines changed

12 files changed

+11
-11
lines changed

.DS_Store

6 KB
Binary file not shown.

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"

cmd/modctl/rm.go renamed to cmd/rm.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)