Skip to content

Commit e6e55d1

Browse files
awartoftparalin
authored andcommitted
refactor: pin dependencies and upgrade logrus
* Upgraded sirupsen and fixed the references * Master branch might be a bit excessive
1 parent 47a6428 commit e6e55d1

File tree

6 files changed

+55
-25
lines changed

6 files changed

+55
-25
lines changed

Gopkg.lock

Lines changed: 47 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
branch = "master"
2727

2828
[[constraint]]
29-
name = "github.com/Sirupsen/logrus"
29+
name = "github.com/sirupsen/logrus"
30+
version = "^1.0.5"
3031

3132
[[constraint]]
3233
name = "github.com/golang/protobuf"
34+
version = "^1.1.0"
35+

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import (
55
"errors"
66
"sync"
77

8-
"github.com/Sirupsen/logrus"
98
"github.com/faceit/go-steam"
109
"github.com/faceit/go-steam/protocol/gamecoordinator"
1110
"github.com/golang/protobuf/proto"
1211
devents "github.com/paralin/go-dota2/events"
12+
"github.com/sirupsen/logrus"
1313
// gcmm "github.com/paralin/go-dota2/protocol/dota_gcmessages_common_match_management"
1414
bgcm "github.com/paralin/go-dota2/protocol/base_gcmessages"
1515
gcm "github.com/paralin/go-dota2/protocol/dota_gcmessages_msgid"

client_request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"context"
55
"sync"
66

7-
"github.com/Sirupsen/logrus"
87
"github.com/faceit/go-steam/protocol/gamecoordinator"
98
"github.com/golang/protobuf/proto"
109
gcm "github.com/paralin/go-dota2/protocol/dota_gcmessages_msgid"
10+
"github.com/sirupsen/logrus"
1111
)
1212

1313
// responseHandler returns handled, and any error

socache/socache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package socache
33
import (
44
"sync"
55

6-
"github.com/Sirupsen/logrus"
76
gcsdkm "github.com/paralin/go-dota2/protocol/gcsdk_gcmessages"
87
"github.com/pkg/errors"
8+
"github.com/sirupsen/logrus"
99
// gcsm "github.com/paralin/go-dota2/protocol/gcsystemmsgs"
1010
)
1111

socache/socache_container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import (
44
"math/rand"
55
"sync"
66

7-
"github.com/Sirupsen/logrus"
87
"github.com/golang/protobuf/jsonpb"
98
"github.com/golang/protobuf/proto"
109
"github.com/paralin/go-dota2/cso"
1110
gcsdkm "github.com/paralin/go-dota2/protocol/gcsdk_gcmessages"
1211
"github.com/pkg/errors"
12+
"github.com/sirupsen/logrus"
1313
)
1414

1515
// SOCacheContainer contains a type of object in the cache.

0 commit comments

Comments
 (0)