From 1a2edf67c3c727f2688dec172390d48256b26bfd Mon Sep 17 00:00:00 2001 From: Takashi Masuda Date: Sat, 2 Mar 2024 22:06:27 +0900 Subject: [PATCH 1/2] Bump go-github to v60 https://github.com/google/go-github --- lib/events.go | 2 +- lib/format.go | 2 +- lib/format_test.go | 2 +- lib/list.go | 2 +- lib/settings.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/events.go b/lib/events.go index cb3440e..c5c92a5 100644 --- a/lib/events.go +++ b/lib/events.go @@ -6,7 +6,7 @@ import ( "log" "time" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v60/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 3a6d789..5273130 100644 --- a/lib/format.go +++ b/lib/format.go @@ -9,7 +9,7 @@ import ( "strings" "text/template" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v60/github" ) // Format is Formatter diff --git a/lib/format_test.go b/lib/format_test.go index a2eef8c..d5ca236 100644 --- a/lib/format_test.go +++ b/lib/format_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v60/github" "github.com/masutaka/github-nippou/v4/lib" ) diff --git a/lib/list.go b/lib/list.go index 2c5104c..44c835f 100644 --- a/lib/list.go +++ b/lib/list.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v60/github" ) // List is a struct for collecting GitHub activities. diff --git a/lib/settings.go b/lib/settings.go index 3a6efb6..713432b 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/v56/github" + "github.com/google/go-github/v60/github" "github.com/rakyll/statik/fs" "golang.org/x/oauth2" "gopkg.in/yaml.v3" From e8c12657c5b3dbd8c03b98d6753f171736cde363 Mon Sep 17 00:00:00 2001 From: Takashi Masuda Date: Sat, 2 Mar 2024 22:06:51 +0900 Subject: [PATCH 2/2] $ go mod tidy --- go.mod | 2 +- go.sum | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 3f723d1..f9d4ef2 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/masutaka/github-nippou/v4 go 1.22 require ( - github.com/google/go-github/v56 v56.0.0 + github.com/google/go-github/v60 v60.0.0 github.com/rakyll/statik v0.1.7 github.com/skratchdot/open-golang v0.0.0-20190402232053-79abb63cd66e github.com/spf13/cobra v1.8.0 diff --git a/go.sum b/go.sum index 0dc5298..8397d7f 100644 --- a/go.sum +++ b/go.sum @@ -5,10 +5,10 @@ github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-github/v56 v56.0.0 h1:TysL7dMa/r7wsQi44BjqlwaHvwlFlqkK8CtBWCX3gb4= -github.com/google/go-github/v56 v56.0.0/go.mod h1:D8cdcX98YWJvi7TLo7zM4/h8ZTx6u6fwGEkCdisopo0= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= +github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= +github.com/google/go-github/v60 v60.0.0 h1:oLG98PsLauFvvu4D/YPxq374jhSxFYdzQGNCyONLfn8= +github.com/google/go-github/v60 v60.0.0/go.mod h1:ByhX2dP9XT9o/ll2yXAu2VD8l5eNVg8hD4Cr0S/LmQk= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=