summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/SevereCloud
diff options
context:
space:
mode:
authorWim <wim@42.be>2021-05-05 22:03:28 +0200
committerGitHub <noreply@github.com>2021-05-05 22:03:28 +0200
commita0bca42a7ad98a37f4bdc4d7adc419471163edfb (patch)
tree3e87fdb61128039b016adb4e586636484c63ed52 /vendor/github.com/SevereCloud
parentaf543dcd05cfb5341311e2e214727e26411d2f92 (diff)
downloadmatterbridge-msglm-a0bca42a7ad98a37f4bdc4d7adc419471163edfb.tar.gz
matterbridge-msglm-a0bca42a7ad98a37f4bdc4d7adc419471163edfb.tar.bz2
matterbridge-msglm-a0bca42a7ad98a37f4bdc4d7adc419471163edfb.zip
Update vendor (#1461)
* Update vendored libs * Fix slack api changes
Diffstat (limited to 'vendor/github.com/SevereCloud')
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml8
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/doc.go2
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/events/objects.go20
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/go.mod4
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/go.sum8
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/object/ads.go3
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/object/messages.go3
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/object/newsfeed.go10
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/object/wall.go2
9 files changed, 33 insertions, 27 deletions
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml b/vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml
index 97b7a3fe..3887ceb7 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml
+++ b/vendor/github.com/SevereCloud/vksdk/v2/.golangci.yml
@@ -39,6 +39,13 @@ linters:
- tparallel
- errorlint
- paralleltest
+ - forbidigo
+ - makezero
+ - thelper
+ - predeclared
+ - ifshort
+ - revive
+ - durationcheck
# - wrapcheck # TODO: v3 Fix
# - testpackage # TODO: Fix testpackage
@@ -62,6 +69,7 @@ linters:
# - nlreturn
# - gci
# - exhaustivestruct
+# - cyclop
issues:
exclude-rules:
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/doc.go b/vendor/github.com/SevereCloud/vksdk/v2/doc.go
index 7bb83d0c..778f2ecf 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/doc.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/doc.go
@@ -7,6 +7,6 @@ package vksdk
// Module constants.
const (
- Version = "2.9.0"
+ Version = "2.9.1"
API = "5.126"
)
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/events/objects.go b/vendor/github.com/SevereCloud/vksdk/v2/events/objects.go
index 8cd94a91..8ee261ac 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/events/objects.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/events/objects.go
@@ -316,40 +316,40 @@ type LikeRemoveObject struct {
// DonutSubscriptionCreateObject struct.
type DonutSubscriptionCreateObject struct {
- Amount int `json:"amount"`
+ Amount float64 `json:"amount"`
AmountWithoutFee float64 `json:"amount_without_fee"`
- UserID int `json:"user_id"`
+ UserID float64 `json:"user_id"`
}
// DonutSubscriptionProlongedObject struct.
type DonutSubscriptionProlongedObject struct {
- Amount int `json:"amount"`
+ Amount float64 `json:"amount"`
AmountWithoutFee float64 `json:"amount_without_fee"`
- UserID int `json:"user_id"`
+ UserID float64 `json:"user_id"`
}
// DonutSubscriptionExpiredObject struct.
type DonutSubscriptionExpiredObject struct {
- UserID int `json:"user_id"`
+ UserID float64 `json:"user_id"`
}
// DonutSubscriptionCancelledObject struct.
type DonutSubscriptionCancelledObject struct {
- UserID int `json:"user_id"`
+ UserID float64 `json:"user_id"`
}
// DonutSubscriptionPriceChangedObject struct.
type DonutSubscriptionPriceChangedObject struct {
- AmountOld int `json:"amount_old"`
- AmountNew int `json:"amount_new"`
+ AmountOld float64 `json:"amount_old"`
+ AmountNew float64 `json:"amount_new"`
AmountDiff float64 `json:"amount_diff"`
AmountDiffWithoutFee float64 `json:"amount_diff_without_fee"`
- UserID int `json:"user_id"`
+ UserID float64 `json:"user_id"`
}
// DonutMoneyWithdrawObject struct.
type DonutMoneyWithdrawObject struct {
- Amount int `json:"amount"`
+ Amount float64 `json:"amount"`
AmountWithoutFee float64 `json:"amount_without_fee"`
}
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/go.mod b/vendor/github.com/SevereCloud/vksdk/v2/go.mod
index 27f7256f..622b04ad 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/go.mod
+++ b/vendor/github.com/SevereCloud/vksdk/v2/go.mod
@@ -5,6 +5,6 @@ go 1.13
require (
github.com/gorilla/schema v1.2.0
github.com/gorilla/websocket v1.4.2
- github.com/stretchr/testify v1.6.1
- golang.org/x/text v0.3.4
+ github.com/stretchr/testify v1.7.0
+ golang.org/x/text v0.3.5
)
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/go.sum b/vendor/github.com/SevereCloud/vksdk/v2/go.sum
index a9885d73..aea36340 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/go.sum
+++ b/vendor/github.com/SevereCloud/vksdk/v2/go.sum
@@ -7,10 +7,10 @@ github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/ad
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
-github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
-github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
-golang.org/x/text v0.3.4 h1:0YWbFKbhXG/wIiuHDSKpS0Iy7FSA+u45VtBMfQcFTTc=
-golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
+github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+golang.org/x/text v0.3.5 h1:i6eZZ+zk0SOf0xgBpEpPD18qWcJda6q1sxt3S0kzyUQ=
+golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/ads.go b/vendor/github.com/SevereCloud/vksdk/v2/object/ads.go
index b2d7f135..e0c379b4 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/object/ads.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/object/ads.go
@@ -207,8 +207,7 @@ type AdsStatsSexAge struct {
}
// AdsTargSettings struct.
-type AdsTargSettings struct {
-}
+type AdsTargSettings struct{}
// AdsTargStats struct.
type AdsTargStats struct {
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/messages.go b/vendor/github.com/SevereCloud/vksdk/v2/object/messages.go
index dc2648b1..65c65f53 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/object/messages.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/object/messages.go
@@ -721,8 +721,7 @@ type MessagesPinnedMessage struct {
}
// MessagesUserXtrInvitedBy struct.
-type MessagesUserXtrInvitedBy struct {
-}
+type MessagesUserXtrInvitedBy struct{}
// MessagesForward struct.
type MessagesForward struct {
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/newsfeed.go b/vendor/github.com/SevereCloud/vksdk/v2/object/newsfeed.go
index e9bda35a..857fb4c5 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/object/newsfeed.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/object/newsfeed.go
@@ -87,11 +87,11 @@ type NewsfeedItemStoriesBlock struct {
}
// NewsfeedItemTopic struct.
-type NewsfeedItemTopic struct {
- // Comments BaseCommentsInfo `json:"comments"`
- // Likes BaseLikesInfo `json:"likes"`
- // Text string `json:"text"` // Post text
-}
+//
+// Comments BaseCommentsInfo `json:"comments"`
+// Likes BaseLikesInfo `json:"likes"`
+// Text string `json:"text"` // Post text.
+type NewsfeedItemTopic struct{}
// NewsfeedItemVideo struct.
type NewsfeedItemVideo struct {
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/wall.go b/vendor/github.com/SevereCloud/vksdk/v2/object/wall.go
index 5345fc5c..3dc2ad4f 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/object/wall.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/object/wall.go
@@ -142,7 +142,7 @@ type WallWallpost struct {
FriendsOnly int `json:"friends_only"`
Comments BaseCommentsInfo `json:"comments"`
Likes BaseLikesInfo `json:"likes"` // Count of likes
- Reposts BaseRepostsInfo `json:"reposts"` // Count of views
+ Reposts BaseRepostsInfo `json:"reposts"` // Count of reposts
Views WallViews `json:"views"` // Count of views
PostType string `json:"post_type"`
PostSource WallPostSource `json:"post_source"`