diff --git a/README.md b/README.md index 1794ee9..d314869 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This list can be expanded at any point. Running using https://gobinaries.com/ ```sh -curl -sf https://gobinaries.com/aevea/merge-master/cmd/merge-master | sh +curl -sf https://gobinaries.com/aevea/knit/cmd/knit | sh ``` diff --git a/api/healthcheck.go b/api/healthcheck.go index b7cb3e7..dad55a7 100644 --- a/api/healthcheck.go +++ b/api/healthcheck.go @@ -3,7 +3,7 @@ package api import ( "context" - "github.com/aevea/merge-master/api/generated" + "github.com/aevea/knit/api/generated" ) type HealthcheckService struct{} diff --git a/api/pullrequests.go b/api/pullrequests.go index 025fc0e..aa4c212 100644 --- a/api/pullrequests.go +++ b/api/pullrequests.go @@ -4,8 +4,8 @@ import ( "context" "net/http" - "github.com/aevea/merge-master/api/generated" - "github.com/aevea/merge-master/internal/github" + "github.com/aevea/knit/api/generated" + "github.com/aevea/knit/internal/github" "github.com/hako/durafmt" ) diff --git a/cmd/api/main.go b/cmd/api/main.go index bd67625..aae966d 100644 --- a/cmd/api/main.go +++ b/cmd/api/main.go @@ -5,9 +5,9 @@ import ( "log" "net/http" - "github.com/aevea/merge-master/api" - "github.com/aevea/merge-master/api/generated" - cfg "github.com/aevea/merge-master/internal/config" + "github.com/aevea/knit/api" + "github.com/aevea/knit/api/generated" + cfg "github.com/aevea/knit/internal/config" "github.com/pacedotdev/oto/otohttp" "github.com/spf13/viper" "golang.org/x/oauth2" diff --git a/cmd/merge-master/main.go b/cmd/knit/main.go similarity index 95% rename from cmd/merge-master/main.go rename to cmd/knit/main.go index 7316391..8e50232 100644 --- a/cmd/merge-master/main.go +++ b/cmd/knit/main.go @@ -9,7 +9,7 @@ import ( "golang.org/x/oauth2" - "github.com/aevea/merge-master/internal/github" + "github.com/aevea/knit/internal/github" "github.com/jedib0t/go-pretty/table" "github.com/montanaflynn/stats" "github.com/spf13/cobra" @@ -17,11 +17,11 @@ import ( func main() { rootCmd := &cobra.Command{ - Use: "merge-master", + Use: "knit", Short: "TODO", Long: "TODO", RunE: func(cmd *cobra.Command, args []string) error { - fmt.Print("There is no root command. Please check merge-master --help.") + fmt.Print("There is no root command. Please check knit --help.") return nil }, SilenceUsage: true, diff --git a/go.mod b/go.mod index c4364d1..b3e6009 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/aevea/merge-master +module github.com/aevea/knit go 1.14 diff --git a/mage.go b/mage.go index 53889f8..f2c6486 100644 --- a/mage.go +++ b/mage.go @@ -70,7 +70,7 @@ func (WebApp) Install() error { func PublishClient() error { err := sh.RunV("oto-tools", "generate", - "--package-name", "@aevea/merge-master", + "--package-name", "@aevea/knit", "--oto-template", "./templates/oto/client.js.plush", "--oto-definitions", "./api/definitions")