4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-27 21:39:22 +00:00

Update vendor (#1461)

* Update vendored libs

* Fix slack api changes
This commit is contained in:
Wim
2021-05-05 22:03:28 +02:00
committed by GitHub
parent af543dcd05
commit a0bca42a7a
46 changed files with 430 additions and 1652 deletions

View File

@ -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:

View File

@ -7,6 +7,6 @@ package vksdk
// Module constants.
const (
Version = "2.9.0"
Version = "2.9.1"
API = "5.126"
)

View File

@ -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"`
}

View File

@ -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
)

View File

@ -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=

View File

@ -207,8 +207,7 @@ type AdsStatsSexAge struct {
}
// AdsTargSettings struct.
type AdsTargSettings struct {
}
type AdsTargSettings struct{}
// AdsTargStats struct.
type AdsTargStats struct {

View File

@ -721,8 +721,7 @@ type MessagesPinnedMessage struct {
}
// MessagesUserXtrInvitedBy struct.
type MessagesUserXtrInvitedBy struct {
}
type MessagesUserXtrInvitedBy struct{}
// MessagesForward struct.
type MessagesForward struct {

View File

@ -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 {

View File

@ -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"`