From a0bca42a7ad98a37f4bdc4d7adc419471163edfb Mon Sep 17 00:00:00 2001 From: Wim Date: Wed, 5 May 2021 22:03:28 +0200 Subject: Update vendor (#1461) * Update vendored libs * Fix slack api changes --- vendor/github.com/SevereCloud/vksdk/v2/object/ads.go | 3 +-- vendor/github.com/SevereCloud/vksdk/v2/object/messages.go | 3 +-- vendor/github.com/SevereCloud/vksdk/v2/object/newsfeed.go | 10 +++++----- vendor/github.com/SevereCloud/vksdk/v2/object/wall.go | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) (limited to 'vendor/github.com/SevereCloud/vksdk/v2/object') 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"` -- cgit v1.2.3