summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/SevereCloud/vksdk/v2/object
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/SevereCloud/vksdk/v2/object')
-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
4 files changed, 8 insertions, 10 deletions
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"`