Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Commit d52bdb8

Browse files
Rename cli to cmd
1 parent 8fd3d70 commit d52bdb8

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

cli/info.go renamed to cmd/info.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
package cli
1+
package cmd
22

33
import (
44
"fmt"
55
"github.com/spf13/cobra"
6-
"github.com/thamaraiselvam/git-api-cli/cli/service"
6+
"github.com/thamaraiselvam/git-api-cli/cmd/service"
77
"os"
88
)
99

cli/root.go renamed to cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package cli
1+
package cmd
22

33
import (
44
"fmt"

cli/service/service.go renamed to cmd/service/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package service
33
import (
44
"encoding/json"
55
"fmt"
6-
"github.com/thamaraiselvam/git-api-cli/cli/types"
6+
"github.com/thamaraiselvam/git-api-cli/cmd/types"
77
"io"
88
"net/http"
99
)

cli/service/service_test.go renamed to cmd/service/service_test.go

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

33
import (
44
"github.com/stretchr/testify/assert"
5-
"github.com/thamaraiselvam/git-api-cli/cli/types"
5+
"github.com/thamaraiselvam/git-api-cli/cmd/types"
66
"gopkg.in/h2non/gock.v1"
77
"testing"
88
)
File renamed without changes.

internal/mock/service/service.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

3-
import "github.com/thamaraiselvam/git-api-cli/cli"
3+
import "github.com/thamaraiselvam/git-api-cli/cmd"
44

55
func main() {
6-
cli.Execute()
6+
cmd.Execute()
77
}

0 commit comments

Comments
 (0)