修复 go mod 不兼容

This commit is contained in:
naiba 2020-12-13 00:43:25 +08:00
parent 04693a69da
commit 22935a52de
4 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ import (
"github.com/naiba/com"
"github.com/gin-gonic/gin"
GitHubAPI "github.com/google/go-github/v28/github"
GitHubAPI "github.com/google/go-github/github"
"golang.org/x/oauth2"
"github.com/naiba/nezha/model"

2
go.mod
View File

@ -8,7 +8,7 @@ require (
github.com/fsnotify/fsnotify v1.4.9
github.com/gin-gonic/gin v1.6.3
github.com/golang/protobuf v1.4.2
github.com/google/go-github/v28 v28.1.1
github.com/google/go-github v17.0.0+incompatible
github.com/gorilla/websocket v1.4.2
github.com/jinzhu/gorm v1.9.16
github.com/naiba/com v0.0.0-20191104074000-318339dc72a5

4
go.sum
View File

@ -158,8 +158,8 @@ github.com/google/go-cmp v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w=
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k=
github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-github/v28 v28.1.1 h1:kORf5ekX5qwXO2mGzXXOjMe/g6ap8ahVe0sBEulhSxo=
github.com/google/go-github/v28 v28.1.1/go.mod h1:bsqJWQX05omyWVmc00nEUql9mhQyv38lDZ8kPZcQVoM=
github.com/google/go-github v17.0.0+incompatible h1:N0LgJ1j65A7kfXrZnUDaYCs/Sf4rEjNlfyDHW9dolSY=
github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ=
github.com/google/go-github/v30 v30.1.0 h1:VLDx+UolQICEOKu2m4uAoMti1SxuEBAl7RSEG16L+Oo=
github.com/google/go-github/v30 v30.1.0/go.mod h1:n8jBpHl45a/rlBUtRJMOG4GhNADUQFEufcolZ95JfU8=
github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=

View File

@ -4,7 +4,7 @@ import (
"fmt"
"time"
"github.com/google/go-github/v28/github"
"github.com/google/go-github/github"
"github.com/naiba/com"
)