File tree Expand file tree Collapse file tree 7 files changed +16
-11
lines changed
Expand file tree Collapse file tree 7 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 11module github.com/migueleliasweb/go-github-mock
22
3- go 1.16
3+ go 1.21
44
55require (
66 github.com/buger/jsonparser v1.1.1
77 github.com/go-kit/log v0.2.1
8- github.com/google/go-github/v56 v56 .0.0
8+ github.com/google/go-github/v59 v59 .0.0
99 github.com/gorilla/mux v1.8.0
1010 golang.org/x/time v0.3.0
1111)
12+
13+ require (
14+ github.com/go-logfmt/logfmt v0.5.1 // indirect
15+ github.com/google/go-querystring v1.1.0 // indirect
16+ )
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBj
55github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA =
66github.com/go-logfmt/logfmt v0.5.1 /go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs =
77github.com/google/go-cmp v0.5.2 /go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE =
8- github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38 =
9- github.com/google/go-cmp v0.5.9 /go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY =
10- github.com/google/go-github/v56 v56 .0.0 h1:TysL7dMa/r7wsQi44BjqlwaHvwlFlqkK8CtBWCX3gb4 =
11- github.com/google/go-github/v56 v56 .0.0/go.mod h1:D8cdcX98YWJvi7TLo7zM4/h8ZTx6u6fwGEkCdisopo0 =
8+ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI =
9+ github.com/google/go-cmp v0.6.0 /go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY =
10+ github.com/google/go-github/v59 v59 .0.0 h1:7h6bgpF5as0YQLLkEiVqpgtJqjimMYhBkD4jT5aN3VA =
11+ github.com/google/go-github/v59 v59 .0.0/go.mod h1:rJU4R0rQHFVFDOkqGWxfLNo6vEk4dv40oDjhV/gH6wM =
1212github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8 =
1313github.com/google/go-querystring v1.1.0 /go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU =
1414github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI =
Original file line number Diff line number Diff line change 44 "context"
55 "testing"
66
7- "github.com/google/go-github/v56 /github"
7+ "github.com/google/go-github/v59 /github"
88)
99
1010func TestRepoGetContents (t * testing.T ) {
Original file line number Diff line number Diff line change 66 "testing"
77 "time"
88
9- "github.com/google/go-github/v56 /github"
9+ "github.com/google/go-github/v59 /github"
1010 "github.com/migueleliasweb/go-github-mock/src/mock"
1111)
1212
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package mock
33import (
44 "testing"
55
6- "github.com/google/go-github/v56 /github"
6+ "github.com/google/go-github/v59 /github"
77 "github.com/gorilla/mux"
88)
99
Original file line number Diff line number Diff line change 77 "strings"
88 "testing"
99
10- "github.com/google/go-github/v56 /github"
10+ "github.com/google/go-github/v59 /github"
1111)
1212
1313func TestNewMockedHTTPClient (t * testing.T ) {
Original file line number Diff line number Diff line change 44 "encoding/json"
55 "net/http"
66
7- "github.com/google/go-github/v56 /github"
7+ "github.com/google/go-github/v59 /github"
88)
99
1010// MustMarshal helper function that wraps json.Marshal
You can’t perform that action at this time.
0 commit comments