diff --git a/lib/events.go b/lib/events.go index 207a90a..cb3440e 100644 --- a/lib/events.go +++ b/lib/events.go @@ -6,7 +6,7 @@ import ( "log" "time" - "github.com/google/go-github/github" + "github.com/google/go-github/v56/github" ) // Events represents a structure for fetching user-related events from the GitHub API. diff --git a/lib/format.go b/lib/format.go index fdd794b..ac7790a 100644 --- a/lib/format.go +++ b/lib/format.go @@ -9,7 +9,7 @@ import ( "strings" "text/template" - "github.com/google/go-github/github" + "github.com/google/go-github/v56/github" ) // Format is Formatter diff --git a/lib/format_test.go b/lib/format_test.go index 7b202e4..a2eef8c 100644 --- a/lib/format_test.go +++ b/lib/format_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/google/go-github/github" + "github.com/google/go-github/v56/github" "github.com/masutaka/github-nippou/v4/lib" ) diff --git a/lib/list.go b/lib/list.go index 87e38a4..2c5104c 100644 --- a/lib/list.go +++ b/lib/list.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "github.com/google/go-github/github" + "github.com/google/go-github/v56/github" ) // List is a struct for collecting GitHub activities. diff --git a/lib/settings.go b/lib/settings.go index fdbf4d8..0f8ecd6 100644 --- a/lib/settings.go +++ b/lib/settings.go @@ -13,7 +13,7 @@ import ( // Import ./config/* _ "github.com/masutaka/github-nippou/v4/statik" - "github.com/google/go-github/github" + "github.com/google/go-github/v56/github" "github.com/rakyll/statik/fs" "golang.org/x/oauth2" "gopkg.in/yaml.v2"