From 6fc02112657f4d05605881e5487f0247a37bfa5f Mon Sep 17 00:00:00 2001 From: Steven Maude Date: Thu, 7 Nov 2019 12:00:37 +0000 Subject: [PATCH 1/2] Update code to new package location Move github.com/codegangsta/cli to github.com/urfave/cli. --- main.go | 2 +- pkg/hookbot/router.go | 2 +- pkg/router/github/github.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index e73fb2c..1149184 100644 --- a/main.go +++ b/main.go @@ -9,7 +9,7 @@ import ( "os" "regexp" - "github.com/codegangsta/cli" + "github.com/urfave/cli" "github.com/sensiblecodeio/hookbot/pkg/hookbot" "github.com/sensiblecodeio/hookbot/pkg/router/github" diff --git a/pkg/hookbot/router.go b/pkg/hookbot/router.go index cd724e3..3a9a900 100644 --- a/pkg/hookbot/router.go +++ b/pkg/hookbot/router.go @@ -3,7 +3,7 @@ package hookbot import ( "log" - "github.com/codegangsta/cli" + "github.com/urfave/cli" ) type Router interface { diff --git a/pkg/router/github/github.go b/pkg/router/github/github.go index 09e16b2..53ae22a 100644 --- a/pkg/router/github/github.go +++ b/pkg/router/github/github.go @@ -11,7 +11,7 @@ import ( "regexp" "strings" - "github.com/codegangsta/cli" + "github.com/urfave/cli" "github.com/sensiblecodeio/hookbot/pkg/hookbot" "github.com/sensiblecodeio/hookbot/pkg/listen" From 26ce9dfd1c643304983b5f116e61a2bc72dd0158 Mon Sep 17 00:00:00 2001 From: Steven Maude Date: Thu, 7 Nov 2019 12:01:02 +0000 Subject: [PATCH 2/2] Update go.mod and go.sum following package move --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 25a08f5..e41c44a 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,6 @@ module github.com/sensiblecodeio/hookbot go 1.12 require ( - github.com/codegangsta/cli v1.20.0 github.com/gorilla/websocket v1.4.1 + github.com/urfave/cli v1.20.0 ) diff --git a/go.sum b/go.sum index 7f3536b..32b9d71 100644 --- a/go.sum +++ b/go.sum @@ -4,3 +4,5 @@ github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/urfave/cli v1.20.0 h1:fDqGv3UG/4jbVl/QkFwEdddtEDjh/5Ov6X+0B/3bPaw= +github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=