From 30c8ba15d9199231b788ae0d9b8c8d7ef26b6844 Mon Sep 17 00:00:00 2001 From: Daniil Suvorov Date: Sun, 14 Jul 2024 16:39:51 +0300 Subject: [PATCH] BREAKING CHANGE: v2 -> v3 --- README.md | 38 +++++++++++++++--------------- api/README.md | 10 ++++---- api/account.go | 4 ++-- api/account_test.go | 2 +- api/ads.go | 4 ++-- api/ads_test.go | 2 +- api/api.go | 8 +++---- api/api_test.go | 4 ++-- api/apps.go | 4 ++-- api/apps_test.go | 2 +- api/appwidgets.go | 4 ++-- api/auth.go | 4 ++-- api/auth_test.go | 2 +- api/board.go | 4 ++-- api/board_test.go | 2 +- api/calls.go | 2 +- api/calls_test.go | 2 +- api/captcha_test.go | 2 +- api/database.go | 4 ++-- api/database_test.go | 2 +- api/docs.go | 4 ++-- api/docs_test.go | 2 +- api/donut.go | 2 +- api/donut_test.go | 2 +- api/downloadedGames.go | 4 ++-- api/errors.go | 2 +- api/errors_test.go | 4 ++-- api/execute_test.go | 2 +- api/fave.go | 4 ++-- api/fave_test.go | 4 ++-- api/friends.go | 4 ++-- api/friends_test.go | 2 +- api/gifts.go | 4 ++-- api/gifts_test.go | 2 +- api/groups.go | 4 ++-- api/groups_test.go | 2 +- api/leadforms.go | 4 ++-- api/leadforms_test.go | 2 +- api/leads.go | 4 ++-- api/likes.go | 4 ++-- api/likes_test.go | 2 +- api/market.go | 4 ++-- api/market_test.go | 2 +- api/marusia.go | 4 ++-- api/messages.go | 4 ++-- api/messages_test.go | 4 ++-- api/newsfeed.go | 4 ++-- api/newsfeed_test.go | 2 +- api/notes.go | 4 ++-- api/notes_test.go | 2 +- api/notifications.go | 4 ++-- api/notifications_test.go | 2 +- api/oauth/README.md | 4 ++-- api/oauth/errors.go | 2 +- api/oauth/errors_test.go | 2 +- api/oauth/group.go | 4 ++-- api/oauth/group_test.go | 2 +- api/oauth/oauth.go | 4 ++-- api/oauth/oauth_test.go | 2 +- api/oauth/user.go | 4 ++-- api/oauth/user_test.go | 2 +- api/orders.go | 4 ++-- api/pages.go | 4 ++-- api/pages_test.go | 2 +- api/params/account.go | 4 ++-- api/params/account_test.go | 2 +- api/params/ads.go | 4 ++-- api/params/ads_test.go | 2 +- api/params/appWidgets.go | 4 ++-- api/params/appWidgets_test.go | 2 +- api/params/apps.go | 4 ++-- api/params/apps_test.go | 2 +- api/params/auth.go | 4 ++-- api/params/auth_test.go | 2 +- api/params/board.go | 4 ++-- api/params/board_test.go | 2 +- api/params/calls.go | 2 +- api/params/calls_test.go | 2 +- api/params/database.go | 4 ++-- api/params/database_test.go | 2 +- api/params/doc.go | 2 +- api/params/docs.go | 4 ++-- api/params/docs_test.go | 2 +- api/params/donut.go | 2 +- api/params/donut_test.go | 2 +- api/params/downloadedGames.go | 4 ++-- api/params/downloadedGames_test.go | 2 +- api/params/fave.go | 4 ++-- api/params/fave_test.go | 2 +- api/params/friends.go | 4 ++-- api/params/friends_test.go | 2 +- api/params/gifts.go | 4 ++-- api/params/gifts_test.go | 2 +- api/params/groups.go | 4 ++-- api/params/groups_test.go | 2 +- api/params/leads.go | 4 ++-- api/params/leads_test.go | 2 +- api/params/likes.go | 4 ++-- api/params/likes_test.go | 2 +- api/params/market.go | 4 ++-- api/params/market_test.go | 2 +- api/params/marusia.go | 4 ++-- api/params/marusia_test.go | 2 +- api/params/messages.go | 4 ++-- api/params/messages_test.go | 2 +- api/params/newsfeed.go | 4 ++-- api/params/newsfeed_test.go | 2 +- api/params/notes.go | 4 ++-- api/params/notes_test.go | 2 +- api/params/notifications.go | 4 ++-- api/params/notifications_test.go | 2 +- api/params/orders.go | 4 ++-- api/params/orders_test.go | 2 +- api/params/pages.go | 4 ++-- api/params/pages_test.go | 2 +- api/params/photos.go | 4 ++-- api/params/photos_test.go | 2 +- api/params/polls.go | 4 ++-- api/params/polls_test.go | 2 +- api/params/prettyCards.go | 4 ++-- api/params/prettyCards_test.go | 2 +- api/params/search.go | 4 ++-- api/params/search_test.go | 2 +- api/params/secure.go | 4 ++-- api/params/secure_test.go | 2 +- api/params/stats.go | 4 ++-- api/params/stats_test.go | 2 +- api/params/status.go | 4 ++-- api/params/status_test.go | 2 +- api/params/storage.go | 4 ++-- api/params/storage_test.go | 2 +- api/params/stories.go | 4 ++-- api/params/stories_test.go | 2 +- api/params/streaming.go | 4 ++-- api/params/streaming_test.go | 2 +- api/params/users.go | 4 ++-- api/params/users_test.go | 2 +- api/params/utils.go | 4 ++-- api/params/utils_test.go | 2 +- api/params/video.go | 4 ++-- api/params/video_test.go | 2 +- api/params/wall.go | 4 ++-- api/params/wall_test.go | 2 +- api/params/widgets.go | 4 ++-- api/params/widgets_test.go | 2 +- api/photos.go | 4 ++-- api/photos_test.go | 4 ++-- api/podcasts.go | 4 ++-- api/podcasts_test.go | 2 +- api/polls.go | 4 ++-- api/polls_test.go | 2 +- api/prettycards.go | 4 ++-- api/prettycards_test.go | 2 +- api/search.go | 4 ++-- api/search_test.go | 2 +- api/secure.go | 4 ++-- api/stats.go | 4 ++-- api/stats_test.go | 2 +- api/status.go | 4 ++-- api/status_test.go | 2 +- api/storage.go | 4 ++-- api/storage_test.go | 2 +- api/store.go | 4 ++-- api/store_test.go | 2 +- api/stories.go | 4 ++-- api/stories_test.go | 2 +- api/streaming.go | 2 +- api/streaming_test.go | 2 +- api/upload.go | 4 ++-- api/upload_test.go | 2 +- api/users.go | 4 ++-- api/users_test.go | 2 +- api/utils.go | 4 ++-- api/utils_test.go | 2 +- api/video.go | 4 ++-- api/video_test.go | 2 +- api/wall.go | 4 ++-- api/wall_test.go | 2 +- api/widgets.go | 4 ++-- api/widgets_test.go | 2 +- callback/README.md | 12 +++++----- callback/callback.go | 6 ++--- callback/callback_test.go | 2 +- callback/context.go | 4 ++-- callback/context_test.go | 6 ++--- callback/setting.go | 6 ++--- callback/setting_test.go | 6 ++--- doc_test.go | 2 +- events/context.go | 4 ++-- events/context_test.go | 4 ++-- events/events.go | 4 ++-- events/events_test.go | 2 +- events/objects.go | 4 ++-- foaf/README.md | 2 +- foaf/foaf.go | 4 ++-- foaf/group.go | 2 +- foaf/group_test.go | 2 +- foaf/image.go | 2 +- foaf/person.go | 2 +- foaf/person_test.go | 2 +- games/example_test.go | 2 +- games/verify_test.go | 2 +- go.mod | 2 +- internal/charset.go | 2 +- internal/charset_test.go | 2 +- internal/transport.go | 4 ++-- internal/transport_test.go | 2 +- longpoll-bot/README.md | 8 +++---- longpoll-bot/context.go | 4 ++-- longpoll-bot/context_test.go | 4 ++-- longpoll-bot/errors_test.go | 2 +- longpoll-bot/longpoll.go | 10 ++++---- longpoll-bot/longpoll_test.go | 4 ++-- longpoll-user/README.md | 6 ++--- longpoll-user/errors_test.go | 2 +- longpoll-user/longpoll.go | 10 ++++---- longpoll-user/v3/README.md | 4 ++-- longpoll-user/v3/doc.go | 2 +- longpoll-user/v3/errors.go | 2 +- longpoll-user/v3/extra.go | 2 +- longpoll-user/v3/flags.go | 2 +- longpoll-user/v3/objects.go | 2 +- longpoll-user/v3/wrapper.go | 4 ++-- longpoll-user/v3/wrapper_test.go | 6 ++--- marusia/card_test.go | 2 +- marusia/cards.go | 2 +- marusia/deeplink.go | 2 +- marusia/deeplink_test.go | 2 +- marusia/skill.go | 2 +- marusia/skill_test.go | 2 +- marusia/ssml/ssml.go | 2 +- marusia/ssml/ssml_test.go | 2 +- marusia/webhook.go | 2 +- marusia/webhook_test.go | 2 +- object/account.go | 2 +- object/ads.go | 2 +- object/apps.go | 2 +- object/audio.go | 2 +- object/audio_test.go | 2 +- object/auth.go | 2 +- object/board.go | 2 +- object/database.go | 2 +- object/docs.go | 2 +- object/docs_test.go | 2 +- object/friends.go | 2 +- object/gifts.go | 2 +- object/groups.go | 2 +- object/groups_test.go | 2 +- object/leads.go | 2 +- object/market.go | 2 +- object/market_test.go | 2 +- object/marusia.go | 2 +- object/messages.go | 2 +- object/messages_test.go | 2 +- object/newsfeed.go | 2 +- object/notes.go | 2 +- object/notes_test.go | 2 +- object/notifications.go | 2 +- object/object.go | 2 +- object/object_test.go | 2 +- object/orders.go | 2 +- object/pages.go | 2 +- object/photos.go | 2 +- object/photos_test.go | 2 +- object/polls.go | 2 +- object/polls_test.go | 2 +- object/raw.go | 2 +- object/raw_test.go | 2 +- object/secure.go | 2 +- object/stats.go | 2 +- object/stories.go | 2 +- object/stories_test.go | 2 +- object/users.go | 2 +- object/users_test.go | 2 +- object/utils.go | 2 +- object/utils_test.go | 2 +- object/video.go | 2 +- object/video_test.go | 2 +- object/wall.go | 2 +- object/widgets.go | 2 +- payments/callback_test.go | 2 +- payments/payments.go | 2 +- payments/payments_test.go | 2 +- streaming/errors.go | 2 +- streaming/errors_test.go | 4 ++-- streaming/event.go | 2 +- streaming/streaming.go | 4 ++-- streaming/streaming_test.go | 4 ++-- vkapps/README.md | 2 +- vkapps/example_test.go | 2 +- vkapps/params_test.go | 2 +- vkapps/verify_test.go | 2 +- 292 files changed, 448 insertions(+), 448 deletions(-) diff --git a/README.md b/README.md index 00fec912..92d42d49 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # VK SDK for Golang -[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v2/v2)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2?tab=subdirectories) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v3/v2)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3?tab=subdirectories) [![VK Developers](https://img.shields.io/badge/developers-%234a76a8.svg?logo=VK&logoColor=white)](https://dev.vk.com/) [![codecov](https://codecov.io/gh/SevereCloud/vksdk/branch/master/graph/badge.svg)](https://codecov.io/gh/SevereCloud/vksdk) [![VK chat](https://img.shields.io/badge/VK%20chat-%234a76a8.svg?logo=VK&logoColor=white)](https://vk.me/join/AJQ1d6Or8Q00Y_CSOESfbqGt) @@ -15,41 +15,41 @@ Version API 5.199. -- [API](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/api) +- [API](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/api) - 500+ methods - Ability to modify HTTP client - Request Limiter - - Support [zstd](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/api#VK.EnableZstd) - and [MessagePack](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/api#VK.EnableMessagePack) + - Support [zstd](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/api#VK.EnableZstd) + and [MessagePack](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/api#VK.EnableMessagePack) - Token pool - - [OAuth](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/api/oauth) -- [Callback API](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/callback) + - [OAuth](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/api/oauth) +- [Callback API](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/callback) - Tracking tool for users activity in your VK communities - Supports all events - Auto setting callback -- [Bots Long Poll API](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/longpoll-bot) +- [Bots Long Poll API](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/longpoll-bot) - Allows you to work with community events in real time - Supports all events - Ability to modify HTTP client -- [User Long Poll API](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/longpoll-user) +- [User Long Poll API](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/longpoll-user) - Allows you to work with user events in real time - Ability to modify HTTP client -- [Streaming API](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/streaming) +- [Streaming API](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/streaming) - Receiving public data from VK by specified keywords - Ability to modify HTTP client -- [FOAF](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/foaf) +- [FOAF](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/foaf) - Machine-readable ontology describing persons - Works with users and groups - The only place to get page creation date -- [Games](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/games) +- [Games](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/games) - Checking launch parameters - Intermediate http handler -- [VK Mini Apps](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/vkapps) +- [VK Mini Apps](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/vkapps) - Checking launch parameters - Intermediate http handler -- [Payments API](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/payments) +- [Payments API](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/payments) - Processes payment notifications -- [Marusia Skills](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/marusia) +- [Marusia Skills](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/marusia) - For creating Marusia Skills - Support SSML @@ -57,7 +57,7 @@ Version API 5.199. ```bash # go mod init mymodulename -go get github.com/SevereCloud/vksdk/v2@latest +go get github.com/SevereCloud/vksdk/v3@latest ``` ## Use by @@ -75,10 +75,10 @@ import ( "context" "log" - "github.com/SevereCloud/vksdk/v2/api" - "github.com/SevereCloud/vksdk/v2/api/params" - "github.com/SevereCloud/vksdk/v2/events" - "github.com/SevereCloud/vksdk/v2/longpoll-bot" + "github.com/SevereCloud/vksdk/v3/api" + "github.com/SevereCloud/vksdk/v3/api/params" + "github.com/SevereCloud/vksdk/v3/events" + "github.com/SevereCloud/vksdk/v3/longpoll-bot" ) func main() { diff --git a/api/README.md b/api/README.md index 2a6df1a6..a59e82e8 100644 --- a/api/README.md +++ b/api/README.md @@ -1,6 +1,6 @@ # API -[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v2/api)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/api) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v3/api)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/api) [![VK](https://img.shields.io/badge/developers-%234a76a8.svg?logo=VK&logoColor=white)](https://dev.vk.com/ru/api/getting-started) Данная библиотека поддерживает версию API **5.199**. @@ -19,7 +19,7 @@ vk := api.NewVK("") - `groups.get` с extended=1 -> `vk.GroupsGetExtended(api.Params{})` Список всех методов можно найти на -[данной странице](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/api?tab=doc#VK). +[данной странице](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/api?tab=doc#VK). Пример запроса [`users.get`](https://dev.vk.com/method/users.get) @@ -34,12 +34,12 @@ if err != nil { ### Параметры -[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v2/api/params)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/api/params) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v3/api/params)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/api/params) Модуль params предназначен для генерации параметров запроса. ```go -// import "github.com/SevereCloud/vksdk/v2/api/params" +// import "github.com/SevereCloud/vksdk/v3/api/params" b := params.NewMessageSendBuilder() b.PeerID(123) @@ -152,7 +152,7 @@ log.Print(response) ### Execute -[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v2/errors)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/api#VK.Execute) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v3/errors)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/api#VK.Execute) [![VK](https://img.shields.io/badge/developers-%234a76a8.svg?logo=VK&logoColor=white)](https://dev.vk.com/ru/method/execute) Универсальный метод, который позволяет запускать последовательность других diff --git a/api/account.go b/api/account.go index 6500d971..7658c803 100644 --- a/api/account.go +++ b/api/account.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // AccountBan account.ban. diff --git a/api/account_test.go b/api/account_test.go index ff135339..6eaa9d26 100644 --- a/api/account_test.go +++ b/api/account_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/ads.go b/api/ads.go index eb25c70d..9a07fdb5 100644 --- a/api/ads.go +++ b/api/ads.go @@ -1,11 +1,11 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( "bytes" "encoding/json" "fmt" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" "github.com/vmihailenco/msgpack/v5" ) diff --git a/api/ads_test.go b/api/ads_test.go index e8506051..58d6041d 100644 --- a/api/ads_test.go +++ b/api/ads_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" "github.com/vmihailenco/msgpack/v5" "github.com/vmihailenco/msgpack/v5/msgpcode" diff --git a/api/api.go b/api/api.go index 50c7536d..e0c02d42 100644 --- a/api/api.go +++ b/api/api.go @@ -3,7 +3,7 @@ Package api implements VK API. See more https://dev.vk.com/ru/api/api-requests */ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( "bytes" @@ -20,9 +20,9 @@ import ( "sync/atomic" "time" - "github.com/SevereCloud/vksdk/v2" - "github.com/SevereCloud/vksdk/v2/internal" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3" + "github.com/SevereCloud/vksdk/v3/internal" + "github.com/SevereCloud/vksdk/v3/object" "github.com/klauspost/compress/zstd" "github.com/vmihailenco/msgpack/v5" ) diff --git a/api/api_test.go b/api/api_test.go index dc093d53..a1c4a16f 100644 --- a/api/api_test.go +++ b/api/api_test.go @@ -12,8 +12,8 @@ import ( "testing" "time" - "github.com/SevereCloud/vksdk/v2/api" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/api" + "github.com/SevereCloud/vksdk/v3/object" "github.com/stretchr/testify/assert" ) diff --git a/api/apps.go b/api/apps.go index d08c0902..a574a652 100644 --- a/api/apps.go +++ b/api/apps.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // AppsAddUsersToTestingGroup method. diff --git a/api/apps_test.go b/api/apps_test.go index a92a9fc1..4377b5d7 100644 --- a/api/apps_test.go +++ b/api/apps_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/appwidgets.go b/api/appwidgets.go index 27222f48..20950c01 100644 --- a/api/appwidgets.go +++ b/api/appwidgets.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // AppWidgetsGetAppImageUploadServerResponse struct. diff --git a/api/auth.go b/api/auth.go index 44601172..8ce1806d 100644 --- a/api/auth.go +++ b/api/auth.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // AuthCheckPhone checks a user's phone number for correctness. diff --git a/api/auth_test.go b/api/auth_test.go index e308a76b..451b8258 100644 --- a/api/auth_test.go +++ b/api/auth_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) func TestVK_AuthCheckPhone(t *testing.T) { diff --git a/api/board.go b/api/board.go index d61fd730..fcb3d6a8 100644 --- a/api/board.go +++ b/api/board.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // BoardAddTopic creates a new topic on a community's discussion board. diff --git a/api/board_test.go b/api/board_test.go index b5a6d7c0..465f0805 100644 --- a/api/board_test.go +++ b/api/board_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/calls.go b/api/calls.go index 3c30c057..d86c5d40 100644 --- a/api/calls.go +++ b/api/calls.go @@ -1,4 +1,4 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" // CallsStartResponse struct. type CallsStartResponse struct { diff --git a/api/calls_test.go b/api/calls_test.go index f8a6e6b2..d7270414 100644 --- a/api/calls_test.go +++ b/api/calls_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) func TestVK_CallsStart(t *testing.T) { diff --git a/api/captcha_test.go b/api/captcha_test.go index 160d32ba..6790d444 100644 --- a/api/captcha_test.go +++ b/api/captcha_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) func TestVK_CaptchaForce(t *testing.T) { diff --git a/api/database.go b/api/database.go index c92e10a0..c6297085 100644 --- a/api/database.go +++ b/api/database.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // DatabaseGetChairsResponse struct. diff --git a/api/database_test.go b/api/database_test.go index e235fbb9..d20b8fbe 100644 --- a/api/database_test.go +++ b/api/database_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/docs.go b/api/docs.go index def97526..c15194fd 100644 --- a/api/docs.go +++ b/api/docs.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // DocsAdd copies a document to a user's or community's document list. diff --git a/api/docs_test.go b/api/docs_test.go index 21004e6b..7773e49d 100644 --- a/api/docs_test.go +++ b/api/docs_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/donut.go b/api/donut.go index 1ff8045e..4c0c2864 100644 --- a/api/donut.go +++ b/api/donut.go @@ -1,6 +1,6 @@ package api -import "github.com/SevereCloud/vksdk/v2/object" +import "github.com/SevereCloud/vksdk/v3/object" // DonutGetFriendsResponse struct. type DonutGetFriendsResponse struct { diff --git a/api/donut_test.go b/api/donut_test.go index fe54ed93..6e878ca1 100644 --- a/api/donut_test.go +++ b/api/donut_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) func TestVK_DonutGetFriends(t *testing.T) { diff --git a/api/downloadedGames.go b/api/downloadedGames.go index 5ab5033f..be46e2d1 100644 --- a/api/downloadedGames.go +++ b/api/downloadedGames.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // DownloadedGamesGetPaidStatusResponse struct. diff --git a/api/errors.go b/api/errors.go index 84de4f89..2318f097 100644 --- a/api/errors.go +++ b/api/errors.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) const errorMessagePrefix = "api: " diff --git a/api/errors_test.go b/api/errors_test.go index 7ab186fe..d32fb7f1 100644 --- a/api/errors_test.go +++ b/api/errors_test.go @@ -4,8 +4,8 @@ import ( "errors" "testing" - "github.com/SevereCloud/vksdk/v2/api" - "github.com/SevereCloud/vksdk/v2/streaming" + "github.com/SevereCloud/vksdk/v3/api" + "github.com/SevereCloud/vksdk/v3/streaming" "github.com/stretchr/testify/assert" ) diff --git a/api/execute_test.go b/api/execute_test.go index d5e97f33..67e4e174 100644 --- a/api/execute_test.go +++ b/api/execute_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/fave.go b/api/fave.go index bcd87ba7..57fb486d 100644 --- a/api/fave.go +++ b/api/fave.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // FaveAddArticle adds a link to user faves. diff --git a/api/fave_test.go b/api/fave_test.go index 7493b214..16f7026a 100644 --- a/api/fave_test.go +++ b/api/fave_test.go @@ -5,9 +5,9 @@ import ( "testing" "time" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" "github.com/stretchr/testify/assert" ) diff --git a/api/friends.go b/api/friends.go index 48b06f8b..755b036c 100644 --- a/api/friends.go +++ b/api/friends.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // FriendsAdd approves or creates a friend request. diff --git a/api/friends_test.go b/api/friends_test.go index e65eda44..50da6fea 100644 --- a/api/friends_test.go +++ b/api/friends_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/gifts.go b/api/gifts.go index 9bc6c5b2..af20f341 100644 --- a/api/gifts.go +++ b/api/gifts.go @@ -1,6 +1,6 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" -import "github.com/SevereCloud/vksdk/v2/object" +import "github.com/SevereCloud/vksdk/v3/object" // GiftsGetResponse struct. type GiftsGetResponse struct { diff --git a/api/gifts_test.go b/api/gifts_test.go index 3f93645a..8e2590e8 100644 --- a/api/gifts_test.go +++ b/api/gifts_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/groups.go b/api/groups.go index ab04f7a5..d5584093 100644 --- a/api/groups.go +++ b/api/groups.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // GroupsAddAddressResponse struct. diff --git a/api/groups_test.go b/api/groups_test.go index e1dedd96..104bf26e 100644 --- a/api/groups_test.go +++ b/api/groups_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/leadforms.go b/api/leadforms.go index 429cd255..77600d9d 100644 --- a/api/leadforms.go +++ b/api/leadforms.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // LeadFormsCreateResponse struct. diff --git a/api/leadforms_test.go b/api/leadforms_test.go index 8995de24..8d1a1415 100644 --- a/api/leadforms_test.go +++ b/api/leadforms_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/leads.go b/api/leads.go index d12403b4..b422cc50 100644 --- a/api/leads.go +++ b/api/leads.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // LeadsCheckUserResponse struct. diff --git a/api/likes.go b/api/likes.go index f63d6cc9..d3e33095 100644 --- a/api/likes.go +++ b/api/likes.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // LikesAddResponse struct. diff --git a/api/likes_test.go b/api/likes_test.go index b265eb2a..eb555f35 100644 --- a/api/likes_test.go +++ b/api/likes_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/market.go b/api/market.go index 0566fa74..65f28262 100644 --- a/api/market.go +++ b/api/market.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // MarketAddResponse struct. diff --git a/api/market_test.go b/api/market_test.go index bb84c693..e7d719a4 100644 --- a/api/market_test.go +++ b/api/market_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/marusia.go b/api/marusia.go index 4599ec4b..f4465afd 100644 --- a/api/marusia.go +++ b/api/marusia.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // MarusiaGetPictureUploadLinkResponse struct. diff --git a/api/messages.go b/api/messages.go index 718fefe0..d882a558 100644 --- a/api/messages.go +++ b/api/messages.go @@ -1,10 +1,10 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( "fmt" "strconv" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" "github.com/vmihailenco/msgpack/v5" ) diff --git a/api/messages_test.go b/api/messages_test.go index 9f62faf9..d7cfc2ac 100644 --- a/api/messages_test.go +++ b/api/messages_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/SevereCloud/vksdk/v2/api" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/newsfeed.go b/api/newsfeed.go index 45ac6f1f..733e315a 100644 --- a/api/newsfeed.go +++ b/api/newsfeed.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // NewsfeedAddBan prevents news from specified users and communities diff --git a/api/newsfeed_test.go b/api/newsfeed_test.go index 7886c2e4..a4e1e4ad 100644 --- a/api/newsfeed_test.go +++ b/api/newsfeed_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/notes.go b/api/notes.go index ab2f6c5e..0b25db8a 100644 --- a/api/notes.go +++ b/api/notes.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // NotesAdd creates a new note for the current user. diff --git a/api/notes_test.go b/api/notes_test.go index 7c8d7847..4e2bd597 100644 --- a/api/notes_test.go +++ b/api/notes_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/notifications.go b/api/notifications.go index 73e32fa4..a3f739b5 100644 --- a/api/notifications.go +++ b/api/notifications.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // NotificationsGetResponse struct. diff --git a/api/notifications_test.go b/api/notifications_test.go index 2ad2cb45..bf1293d0 100644 --- a/api/notifications_test.go +++ b/api/notifications_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/oauth/README.md b/api/oauth/README.md index b9c94186..6c15cd5d 100644 --- a/api/oauth/README.md +++ b/api/oauth/README.md @@ -420,8 +420,8 @@ for _, groupToken := range t.Groups { для запросов с серверной стороны приложения, его нельзя передавать и хранить на клиенте. -[doc-badge]: https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v2/api/oauth -[doc]: https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/api/oauth +[doc-badge]: https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v3/api/oauth +[doc]: https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/api/oauth [dev-badge]: https://img.shields.io/badge/developers-%234a76a8.svg?logo=VK&logoColor=white [users.get]: https://dev.vk.com/method/users.get [secure.addAppEvent]: https://dev.vk.com/method/secure.addAppEvent diff --git a/api/oauth/errors.go b/api/oauth/errors.go index 954a7d5b..61eacde8 100644 --- a/api/oauth/errors.go +++ b/api/oauth/errors.go @@ -1,5 +1,5 @@ // Package oauth ... -package oauth // import "github.com/SevereCloud/vksdk/v2/api/oauth" +package oauth // import "github.com/SevereCloud/vksdk/v3/api/oauth" import "errors" diff --git a/api/oauth/errors_test.go b/api/oauth/errors_test.go index b48cdb92..778c506c 100644 --- a/api/oauth/errors_test.go +++ b/api/oauth/errors_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "github.com/SevereCloud/vksdk/v2/api/oauth" + "github.com/SevereCloud/vksdk/v3/api/oauth" "github.com/stretchr/testify/assert" ) diff --git a/api/oauth/group.go b/api/oauth/group.go index a3a95d7f..62266816 100644 --- a/api/oauth/group.go +++ b/api/oauth/group.go @@ -1,5 +1,5 @@ // Package oauth ... -package oauth // import "github.com/SevereCloud/vksdk/v2/api/oauth" +package oauth // import "github.com/SevereCloud/vksdk/v3/api/oauth" import ( "encoding/json" @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3/internal" ) // GroupToken struct with access token. diff --git a/api/oauth/group_test.go b/api/oauth/group_test.go index 5376a24b..3d944af6 100644 --- a/api/oauth/group_test.go +++ b/api/oauth/group_test.go @@ -5,7 +5,7 @@ import ( "net/url" "testing" - "github.com/SevereCloud/vksdk/v2/api/oauth" + "github.com/SevereCloud/vksdk/v3/api/oauth" "github.com/stretchr/testify/assert" ) diff --git a/api/oauth/oauth.go b/api/oauth/oauth.go index 0aa596fa..3f2c8e30 100644 --- a/api/oauth/oauth.go +++ b/api/oauth/oauth.go @@ -1,10 +1,10 @@ // Package oauth ... -package oauth // import "github.com/SevereCloud/vksdk/v2/api/oauth" +package oauth // import "github.com/SevereCloud/vksdk/v3/api/oauth" import ( "net/url" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) //nolint:gochecknoglobals diff --git a/api/oauth/oauth_test.go b/api/oauth/oauth_test.go index ba004a07..f48d99fc 100644 --- a/api/oauth/oauth_test.go +++ b/api/oauth/oauth_test.go @@ -3,7 +3,7 @@ package oauth_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/oauth" + "github.com/SevereCloud/vksdk/v3/api/oauth" "github.com/stretchr/testify/assert" ) diff --git a/api/oauth/user.go b/api/oauth/user.go index fcf1a9a5..4a36304c 100644 --- a/api/oauth/user.go +++ b/api/oauth/user.go @@ -1,5 +1,5 @@ // Package oauth ... -package oauth // import "github.com/SevereCloud/vksdk/v2/api/oauth" +package oauth // import "github.com/SevereCloud/vksdk/v3/api/oauth" import ( "encoding/json" @@ -9,7 +9,7 @@ import ( "net/url" "strconv" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3/internal" ) // UserToken ... diff --git a/api/oauth/user_test.go b/api/oauth/user_test.go index 85e7e9eb..8804ed2e 100644 --- a/api/oauth/user_test.go +++ b/api/oauth/user_test.go @@ -5,7 +5,7 @@ import ( "net/url" "testing" - "github.com/SevereCloud/vksdk/v2/api/oauth" + "github.com/SevereCloud/vksdk/v3/api/oauth" "github.com/stretchr/testify/assert" ) diff --git a/api/orders.go b/api/orders.go index 5c69ea50..cd26aeef 100644 --- a/api/orders.go +++ b/api/orders.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // OrdersCancelSubscription allows to cancel subscription. diff --git a/api/pages.go b/api/pages.go index fe80fbe1..89956eca 100644 --- a/api/pages.go +++ b/api/pages.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // PagesClearCache allows to clear the cache of particular external pages which may be attached to VK posts. diff --git a/api/pages_test.go b/api/pages_test.go index 23fd0f5f..ccf39ef3 100644 --- a/api/pages_test.go +++ b/api/pages_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/params/account.go b/api/params/account.go index e30c62d9..3af702ab 100644 --- a/api/params/account.go +++ b/api/params/account.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // AccountBanBuilder builder. diff --git a/api/params/account_test.go b/api/params/account_test.go index 7c6b96a7..6bd280ad 100644 --- a/api/params/account_test.go +++ b/api/params/account_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/ads.go b/api/params/ads.go index 74022417..976fd152 100644 --- a/api/params/ads.go +++ b/api/params/ads.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // AdsAddOfficeUsersBuilder builder. diff --git a/api/params/ads_test.go b/api/params/ads_test.go index 6ec2b71d..16782864 100644 --- a/api/params/ads_test.go +++ b/api/params/ads_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/appWidgets.go b/api/params/appWidgets.go index 97d146c1..0363b356 100644 --- a/api/params/appWidgets.go +++ b/api/params/appWidgets.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // AppWidgetsUpdateBuilder builder. diff --git a/api/params/appWidgets_test.go b/api/params/appWidgets_test.go index c0885e53..2648c2fc 100644 --- a/api/params/appWidgets_test.go +++ b/api/params/appWidgets_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/apps.go b/api/params/apps.go index c47d544e..5ec49910 100644 --- a/api/params/apps.go +++ b/api/params/apps.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // AppsAddUsersToTestingGroupBuilder builder. diff --git a/api/params/apps_test.go b/api/params/apps_test.go index 0b6e787f..89257ac2 100644 --- a/api/params/apps_test.go +++ b/api/params/apps_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/auth.go b/api/params/auth.go index 8f47836f..fa3d983c 100644 --- a/api/params/auth.go +++ b/api/params/auth.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // AuthCheckPhoneBuilder builder. diff --git a/api/params/auth_test.go b/api/params/auth_test.go index 5f670a71..27690837 100644 --- a/api/params/auth_test.go +++ b/api/params/auth_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/board.go b/api/params/board.go index 96409e33..dd013a31 100644 --- a/api/params/board.go +++ b/api/params/board.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // BoardAddTopicBuilder builder. diff --git a/api/params/board_test.go b/api/params/board_test.go index e1a7bf50..37981ab8 100644 --- a/api/params/board_test.go +++ b/api/params/board_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/calls.go b/api/params/calls.go index 939ab0df..ff41b181 100644 --- a/api/params/calls.go +++ b/api/params/calls.go @@ -1,6 +1,6 @@ package params -import "github.com/SevereCloud/vksdk/v2/api" +import "github.com/SevereCloud/vksdk/v3/api" // CallsStartBuilder builder. // diff --git a/api/params/calls_test.go b/api/params/calls_test.go index 1c4b6860..aa949c77 100644 --- a/api/params/calls_test.go +++ b/api/params/calls_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/database.go b/api/params/database.go index 450694e6..a6b3d6e4 100644 --- a/api/params/database.go +++ b/api/params/database.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // DatabaseGetChairsBuilder builder. diff --git a/api/params/database_test.go b/api/params/database_test.go index 4bcc90af..f05333d1 100644 --- a/api/params/database_test.go +++ b/api/params/database_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/doc.go b/api/params/doc.go index 82134e75..f39b3218 100644 --- a/api/params/doc.go +++ b/api/params/doc.go @@ -9,4 +9,4 @@ Package params for generating query parameters. res, err = api.MessageSend(b.Params) */ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" diff --git a/api/params/docs.go b/api/params/docs.go index 991563f6..82c5bbaa 100644 --- a/api/params/docs.go +++ b/api/params/docs.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // DocsAddBuilder builder. diff --git a/api/params/docs_test.go b/api/params/docs_test.go index eec55b32..a295ae0e 100644 --- a/api/params/docs_test.go +++ b/api/params/docs_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/donut.go b/api/params/donut.go index 6fbe940c..efeab5f6 100644 --- a/api/params/donut.go +++ b/api/params/donut.go @@ -1,6 +1,6 @@ package params -import "github.com/SevereCloud/vksdk/v2/api" +import "github.com/SevereCloud/vksdk/v3/api" // DonutGetFriendsBuilder struct. type DonutGetFriendsBuilder struct { diff --git a/api/params/donut_test.go b/api/params/donut_test.go index 9d967c13..91a26132 100644 --- a/api/params/donut_test.go +++ b/api/params/donut_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/downloadedGames.go b/api/params/downloadedGames.go index 640ce690..76ba94a8 100644 --- a/api/params/downloadedGames.go +++ b/api/params/downloadedGames.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // DownloadedGamesGetPaidStatusBuilder builder. diff --git a/api/params/downloadedGames_test.go b/api/params/downloadedGames_test.go index 9b945310..1946277c 100644 --- a/api/params/downloadedGames_test.go +++ b/api/params/downloadedGames_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/fave.go b/api/params/fave.go index 43b0e9ea..4dba0265 100644 --- a/api/params/fave.go +++ b/api/params/fave.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // FaveAddArticleBuilder builder. diff --git a/api/params/fave_test.go b/api/params/fave_test.go index 817eb85e..86023c6c 100644 --- a/api/params/fave_test.go +++ b/api/params/fave_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/friends.go b/api/params/friends.go index 1f18651d..114f0568 100644 --- a/api/params/friends.go +++ b/api/params/friends.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // FriendsAddBuilder builder. diff --git a/api/params/friends_test.go b/api/params/friends_test.go index 13dca99a..ad84fe59 100644 --- a/api/params/friends_test.go +++ b/api/params/friends_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/gifts.go b/api/params/gifts.go index c437ec4d..4529fc64 100644 --- a/api/params/gifts.go +++ b/api/params/gifts.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // GiftsGetBuilder builder. diff --git a/api/params/gifts_test.go b/api/params/gifts_test.go index ca96e2e1..32306797 100644 --- a/api/params/gifts_test.go +++ b/api/params/gifts_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/groups.go b/api/params/groups.go index 76e159fb..6e1963ae 100644 --- a/api/params/groups.go +++ b/api/params/groups.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // GroupsAddAddressBuilder builder. diff --git a/api/params/groups_test.go b/api/params/groups_test.go index 2a263267..b6a9fdc4 100644 --- a/api/params/groups_test.go +++ b/api/params/groups_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/leads.go b/api/params/leads.go index d517eb76..4640c227 100644 --- a/api/params/leads.go +++ b/api/params/leads.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // LeadsCheckUserBuilder builder. diff --git a/api/params/leads_test.go b/api/params/leads_test.go index 4bc50838..2909e391 100644 --- a/api/params/leads_test.go +++ b/api/params/leads_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/likes.go b/api/params/likes.go index 28c6d74f..1e7989b9 100644 --- a/api/params/likes.go +++ b/api/params/likes.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // LikesAddBuilder builder. diff --git a/api/params/likes_test.go b/api/params/likes_test.go index 807a3602..9d5031fd 100644 --- a/api/params/likes_test.go +++ b/api/params/likes_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/market.go b/api/params/market.go index 4deed830..2077ff67 100644 --- a/api/params/market.go +++ b/api/params/market.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // MarketAddBuilder builder. diff --git a/api/params/market_test.go b/api/params/market_test.go index fdff89f4..923e9ec3 100644 --- a/api/params/market_test.go +++ b/api/params/market_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/marusia.go b/api/params/marusia.go index 121e6a89..83ebc7e4 100644 --- a/api/params/marusia.go +++ b/api/params/marusia.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // MarusiaSavePictureBuilder builder. diff --git a/api/params/marusia_test.go b/api/params/marusia_test.go index 1eb5f4dd..d1724afc 100644 --- a/api/params/marusia_test.go +++ b/api/params/marusia_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/messages.go b/api/params/messages.go index ee0c2697..410a733f 100644 --- a/api/params/messages.go +++ b/api/params/messages.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // MessagesAddChatUserBuilder builder. diff --git a/api/params/messages_test.go b/api/params/messages_test.go index 7ae696da..0a4f322a 100644 --- a/api/params/messages_test.go +++ b/api/params/messages_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/newsfeed.go b/api/params/newsfeed.go index 9527077e..a84c0a65 100644 --- a/api/params/newsfeed.go +++ b/api/params/newsfeed.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // NewsfeedAddBanBuilder builder. diff --git a/api/params/newsfeed_test.go b/api/params/newsfeed_test.go index a81ca16a..f4d7b0b7 100644 --- a/api/params/newsfeed_test.go +++ b/api/params/newsfeed_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/notes.go b/api/params/notes.go index 2ecaea14..0157bc73 100644 --- a/api/params/notes.go +++ b/api/params/notes.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // NotesAddBuilder builder. diff --git a/api/params/notes_test.go b/api/params/notes_test.go index ef97ce2d..1c01474c 100644 --- a/api/params/notes_test.go +++ b/api/params/notes_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/notifications.go b/api/params/notifications.go index 2149277e..18c317c4 100644 --- a/api/params/notifications.go +++ b/api/params/notifications.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // NotificationsGetBuilder builder. diff --git a/api/params/notifications_test.go b/api/params/notifications_test.go index 6671d4dd..722d277e 100644 --- a/api/params/notifications_test.go +++ b/api/params/notifications_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/orders.go b/api/params/orders.go index d94d6a04..ab0ca764 100644 --- a/api/params/orders.go +++ b/api/params/orders.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // OrdersCancelSubscriptionBuilder builder. diff --git a/api/params/orders_test.go b/api/params/orders_test.go index 7a659833..9ab02d0e 100644 --- a/api/params/orders_test.go +++ b/api/params/orders_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/pages.go b/api/params/pages.go index 57454b51..4c63e921 100644 --- a/api/params/pages.go +++ b/api/params/pages.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // PagesClearCacheBuilder builder. diff --git a/api/params/pages_test.go b/api/params/pages_test.go index 86281daf..85f67656 100644 --- a/api/params/pages_test.go +++ b/api/params/pages_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/photos.go b/api/params/photos.go index 9e05ecdb..30d60b9a 100644 --- a/api/params/photos.go +++ b/api/params/photos.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // PhotosConfirmTagBuilder builder. diff --git a/api/params/photos_test.go b/api/params/photos_test.go index bc283460..08c9f65c 100644 --- a/api/params/photos_test.go +++ b/api/params/photos_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/polls.go b/api/params/polls.go index fe1445e9..3a66f4ae 100644 --- a/api/params/polls.go +++ b/api/params/polls.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // PollsAddVoteBuilder builder. diff --git a/api/params/polls_test.go b/api/params/polls_test.go index 406a1edf..c4c7d7d4 100644 --- a/api/params/polls_test.go +++ b/api/params/polls_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/prettyCards.go b/api/params/prettyCards.go index 2697f717..41d024c3 100644 --- a/api/params/prettyCards.go +++ b/api/params/prettyCards.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // PrettyCardsCreateBuilder builder. diff --git a/api/params/prettyCards_test.go b/api/params/prettyCards_test.go index 1d4b991e..a093449e 100644 --- a/api/params/prettyCards_test.go +++ b/api/params/prettyCards_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/search.go b/api/params/search.go index 10b12f4e..b1a816f1 100644 --- a/api/params/search.go +++ b/api/params/search.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // SearchGetHintsBuilder builder. diff --git a/api/params/search_test.go b/api/params/search_test.go index cd42e47f..639be319 100644 --- a/api/params/search_test.go +++ b/api/params/search_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/secure.go b/api/params/secure.go index 25739f4f..65e30cca 100644 --- a/api/params/secure.go +++ b/api/params/secure.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // SecureAddAppEventBuilder builder. diff --git a/api/params/secure_test.go b/api/params/secure_test.go index f172e2d0..856cefb5 100644 --- a/api/params/secure_test.go +++ b/api/params/secure_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/stats.go b/api/params/stats.go index 5e1489f5..6a6e7905 100644 --- a/api/params/stats.go +++ b/api/params/stats.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // StatsGetBuilder builder. diff --git a/api/params/stats_test.go b/api/params/stats_test.go index 970333cc..9a3d1028 100644 --- a/api/params/stats_test.go +++ b/api/params/stats_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/status.go b/api/params/status.go index bc36c15a..cb5b24ee 100644 --- a/api/params/status.go +++ b/api/params/status.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // StatusGetBuilder builder. diff --git a/api/params/status_test.go b/api/params/status_test.go index c3c4e87c..cf350d3b 100644 --- a/api/params/status_test.go +++ b/api/params/status_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/storage.go b/api/params/storage.go index a387cc45..04c6bce7 100644 --- a/api/params/storage.go +++ b/api/params/storage.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // StorageGetBuilder builder. diff --git a/api/params/storage_test.go b/api/params/storage_test.go index a241c8d1..5958e4d7 100644 --- a/api/params/storage_test.go +++ b/api/params/storage_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/stories.go b/api/params/stories.go index b6707346..c21d5483 100644 --- a/api/params/stories.go +++ b/api/params/stories.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // StoriesBanOwnerBuilder builder. diff --git a/api/params/stories_test.go b/api/params/stories_test.go index d204c6a8..458b1f12 100644 --- a/api/params/stories_test.go +++ b/api/params/stories_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/streaming.go b/api/params/streaming.go index 722a8baf..13d7596a 100644 --- a/api/params/streaming.go +++ b/api/params/streaming.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // StreamingSetSettingsBuilder builder. diff --git a/api/params/streaming_test.go b/api/params/streaming_test.go index c06e94e9..2a03a500 100644 --- a/api/params/streaming_test.go +++ b/api/params/streaming_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/users.go b/api/params/users.go index b364a18a..9b08428a 100644 --- a/api/params/users.go +++ b/api/params/users.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // UsersGetBuilder builder. diff --git a/api/params/users_test.go b/api/params/users_test.go index 5635064f..22e36e9f 100644 --- a/api/params/users_test.go +++ b/api/params/users_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/utils.go b/api/params/utils.go index 05ae4293..c1532c05 100644 --- a/api/params/utils.go +++ b/api/params/utils.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // UtilsCheckLinkBuilder builder. diff --git a/api/params/utils_test.go b/api/params/utils_test.go index 5f7cafc6..56ca27ec 100644 --- a/api/params/utils_test.go +++ b/api/params/utils_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/video.go b/api/params/video.go index 78f4125a..ff510e7d 100644 --- a/api/params/video.go +++ b/api/params/video.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // VideoAddBuilder builder. diff --git a/api/params/video_test.go b/api/params/video_test.go index 030e0fdb..74969ceb 100644 --- a/api/params/video_test.go +++ b/api/params/video_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/wall.go b/api/params/wall.go index 7e572624..4f4f1fe2 100644 --- a/api/params/wall.go +++ b/api/params/wall.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // WallCheckCopyrightLinkBuilder builder. diff --git a/api/params/wall_test.go b/api/params/wall_test.go index c5820841..d505dfc7 100644 --- a/api/params/wall_test.go +++ b/api/params/wall_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/params/widgets.go b/api/params/widgets.go index 565d63ca..b045cafc 100644 --- a/api/params/widgets.go +++ b/api/params/widgets.go @@ -1,7 +1,7 @@ -package params // import "github.com/SevereCloud/vksdk/v2/api/params" +package params // import "github.com/SevereCloud/vksdk/v3/api/params" import ( - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // WidgetsGetCommentsBuilder builder. diff --git a/api/params/widgets_test.go b/api/params/widgets_test.go index 29e52c8a..480d643a 100644 --- a/api/params/widgets_test.go +++ b/api/params/widgets_test.go @@ -3,7 +3,7 @@ package params_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api/params" + "github.com/SevereCloud/vksdk/v3/api/params" "github.com/stretchr/testify/assert" ) diff --git a/api/photos.go b/api/photos.go index 4cf3200c..9feefb95 100644 --- a/api/photos.go +++ b/api/photos.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // PhotosConfirmTag confirms a tag on a photo. diff --git a/api/photos_test.go b/api/photos_test.go index 01d7b129..48f7cf3f 100644 --- a/api/photos_test.go +++ b/api/photos_test.go @@ -4,8 +4,8 @@ import ( "net/http" "testing" - "github.com/SevereCloud/vksdk/v2/api" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/api" + "github.com/SevereCloud/vksdk/v3/object" "github.com/stretchr/testify/assert" ) diff --git a/api/podcasts.go b/api/podcasts.go index 698631f7..9e150928 100644 --- a/api/podcasts.go +++ b/api/podcasts.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // PodcastsGetCatalogResponse struct. diff --git a/api/podcasts_test.go b/api/podcasts_test.go index 988d4802..82d228b7 100644 --- a/api/podcasts_test.go +++ b/api/podcasts_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) func TestVK_PodcastsGet(t *testing.T) { diff --git a/api/polls.go b/api/polls.go index 3711bd25..3e682117 100644 --- a/api/polls.go +++ b/api/polls.go @@ -1,6 +1,6 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" -import "github.com/SevereCloud/vksdk/v2/object" +import "github.com/SevereCloud/vksdk/v3/object" // PollsAddVote adds the current user's vote to the selected answer in the poll. // diff --git a/api/polls_test.go b/api/polls_test.go index 00539089..8c194e2a 100644 --- a/api/polls_test.go +++ b/api/polls_test.go @@ -4,7 +4,7 @@ import ( "log" "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/prettycards.go b/api/prettycards.go index e9cacc9a..e9ea33e5 100644 --- a/api/prettycards.go +++ b/api/prettycards.go @@ -1,6 +1,6 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" -import "github.com/SevereCloud/vksdk/v2/object" +import "github.com/SevereCloud/vksdk/v3/object" // PrettyCardsCreateResponse struct. type PrettyCardsCreateResponse struct { diff --git a/api/prettycards_test.go b/api/prettycards_test.go index 7cc6330f..5e5d7f62 100644 --- a/api/prettycards_test.go +++ b/api/prettycards_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) // func TestVK_PrettyCardsCreate(t *testing.T) { diff --git a/api/search.go b/api/search.go index b906c4d1..d1ea2f91 100644 --- a/api/search.go +++ b/api/search.go @@ -1,6 +1,6 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" -import "github.com/SevereCloud/vksdk/v2/object" +import "github.com/SevereCloud/vksdk/v3/object" // SearchGetHintsResponse struct. type SearchGetHintsResponse struct { diff --git a/api/search_test.go b/api/search_test.go index ea87df26..3a5f62b9 100644 --- a/api/search_test.go +++ b/api/search_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) func TestVK_SearchGetHints(t *testing.T) { diff --git a/api/secure.go b/api/secure.go index a70240e8..6e07e1f2 100644 --- a/api/secure.go +++ b/api/secure.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // SecureAddAppEventResponse struct. diff --git a/api/stats.go b/api/stats.go index d9cbb960..e56e6c17 100644 --- a/api/stats.go +++ b/api/stats.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // StatsGetResponse struct. diff --git a/api/stats_test.go b/api/stats_test.go index 9844171e..30b1b0bf 100644 --- a/api/stats_test.go +++ b/api/stats_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) func TestVK_StatsGet(t *testing.T) { diff --git a/api/status.go b/api/status.go index e9bb7775..8106b8a7 100644 --- a/api/status.go +++ b/api/status.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // StatusGetResponse struct. diff --git a/api/status_test.go b/api/status_test.go index 4bad4f5b..5afd1b71 100644 --- a/api/status_test.go +++ b/api/status_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" ) func TestVK_StatusGet(t *testing.T) { diff --git a/api/storage.go b/api/storage.go index 82cc0c62..0d0a303b 100644 --- a/api/storage.go +++ b/api/storage.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // StorageGetResponse struct. diff --git a/api/storage_test.go b/api/storage_test.go index 059ea93e..1ae527a0 100644 --- a/api/storage_test.go +++ b/api/storage_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/store.go b/api/store.go index 294ccfb3..8ce77b61 100644 --- a/api/store.go +++ b/api/store.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // StoreAddStickersToFavorite add stickers to favorite. diff --git a/api/store_test.go b/api/store_test.go index e6a70c4e..8d212f26 100644 --- a/api/store_test.go +++ b/api/store_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/stories.go b/api/stories.go index de94cfc7..3fb87646 100644 --- a/api/stories.go +++ b/api/stories.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // StoriesBanOwner allows to hide stories from chosen sources from current user's feed. diff --git a/api/stories_test.go b/api/stories_test.go index e6f406c3..441883f8 100644 --- a/api/stories_test.go +++ b/api/stories_test.go @@ -4,7 +4,7 @@ import ( "net/http" "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/streaming.go b/api/streaming.go index 9fc5f426..c0fdf5cb 100644 --- a/api/streaming.go +++ b/api/streaming.go @@ -1,4 +1,4 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" // StreamingGetServerURLResponse struct. type StreamingGetServerURLResponse struct { diff --git a/api/streaming_test.go b/api/streaming_test.go index 9fc22ab0..3ec9a51d 100644 --- a/api/streaming_test.go +++ b/api/streaming_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/upload.go b/api/upload.go index 32529c13..53f78cf5 100644 --- a/api/upload.go +++ b/api/upload.go @@ -1,4 +1,4 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( "bytes" @@ -7,7 +7,7 @@ import ( "io" "mime/multipart" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // UploadFile uploading file. diff --git a/api/upload_test.go b/api/upload_test.go index 36b706ed..4a9463bb 100644 --- a/api/upload_test.go +++ b/api/upload_test.go @@ -6,7 +6,7 @@ import ( "net/http" "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/users.go b/api/users.go index f0b341ae..57addf97 100644 --- a/api/users.go +++ b/api/users.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // UsersGetResponse users.get response. diff --git a/api/users_test.go b/api/users_test.go index b9f28303..a2674ff3 100644 --- a/api/users_test.go +++ b/api/users_test.go @@ -4,7 +4,7 @@ import ( "errors" "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/utils.go b/api/utils.go index b1f33fff..31c937e5 100644 --- a/api/utils.go +++ b/api/utils.go @@ -1,9 +1,9 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( "fmt" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" "github.com/vmihailenco/msgpack/v5" ) diff --git a/api/utils_test.go b/api/utils_test.go index feb92c30..bb861a95 100644 --- a/api/utils_test.go +++ b/api/utils_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/video.go b/api/video.go index 0f1a24d3..26dd6a94 100644 --- a/api/video.go +++ b/api/video.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // VideoAdd adds a video to a user or community page. diff --git a/api/video_test.go b/api/video_test.go index 19d4470f..121b6301 100644 --- a/api/video_test.go +++ b/api/video_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/wall.go b/api/wall.go index bd8a6f9a..b7b665bb 100644 --- a/api/wall.go +++ b/api/wall.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // WallCheckCopyrightLink method. diff --git a/api/wall_test.go b/api/wall_test.go index 30588f2b..aa95bcd8 100644 --- a/api/wall_test.go +++ b/api/wall_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/api/widgets.go b/api/widgets.go index 9dc276ff..e9d746fa 100644 --- a/api/widgets.go +++ b/api/widgets.go @@ -1,7 +1,7 @@ -package api // import "github.com/SevereCloud/vksdk/v2/api" +package api // import "github.com/SevereCloud/vksdk/v3/api" import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // WidgetsGetCommentsResponse struct. diff --git a/api/widgets_test.go b/api/widgets_test.go index 2fb1e69e..f940db82 100644 --- a/api/widgets_test.go +++ b/api/widgets_test.go @@ -3,7 +3,7 @@ package api_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" "github.com/stretchr/testify/assert" ) diff --git a/callback/README.md b/callback/README.md index 32466929..e3a0d95f 100644 --- a/callback/README.md +++ b/callback/README.md @@ -1,6 +1,6 @@ # Callback API -[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v2/callback)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/callback) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v3/callback)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/callback) [![VK](https://img.shields.io/badge/developers-%234a76a8.svg?logo=VK&logoColor=white)](https://dev.vk.com/ru/api/callback/getting-started) ## Подключение Callback API @@ -72,8 +72,8 @@ import ( "log" "net/http" - "github.com/SevereCloud/vksdk/v2/callback" - "github.com/SevereCloud/vksdk/v2/events" + "github.com/SevereCloud/vksdk/v3/callback" + "github.com/SevereCloud/vksdk/v3/events" ) func main() { @@ -114,9 +114,9 @@ import ( "net/http" "os" - "github.com/SevereCloud/vksdk/v2/api" - "github.com/SevereCloud/vksdk/v2/callback" - "github.com/SevereCloud/vksdk/v2/events" + "github.com/SevereCloud/vksdk/v3/api" + "github.com/SevereCloud/vksdk/v3/callback" + "github.com/SevereCloud/vksdk/v3/events" ) func main() { diff --git a/callback/callback.go b/callback/callback.go index 3b1c71e6..02ce87be 100644 --- a/callback/callback.go +++ b/callback/callback.go @@ -3,7 +3,7 @@ Package callback implements Callback API. See more https://dev.vk.com/ru/api/callback/getting-started */ -package callback // import "github.com/SevereCloud/vksdk/v2/callback" +package callback // import "github.com/SevereCloud/vksdk/v3/callback" import ( "context" @@ -14,8 +14,8 @@ import ( "strconv" "time" - "github.com/SevereCloud/vksdk/v2/events" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3/events" + "github.com/SevereCloud/vksdk/v3/internal" ) // Callback struct SecretKeys [GroupID]SecretKey. diff --git a/callback/callback_test.go b/callback/callback_test.go index f2fe6d63..834bc7c2 100644 --- a/callback/callback_test.go +++ b/callback/callback_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/SevereCloud/vksdk/v2/callback" + "github.com/SevereCloud/vksdk/v3/callback" "github.com/stretchr/testify/assert" ) diff --git a/callback/context.go b/callback/context.go index 5ea1a854..332c5385 100644 --- a/callback/context.go +++ b/callback/context.go @@ -1,10 +1,10 @@ -package callback // import "github.com/SevereCloud/vksdk/v2/callback" +package callback // import "github.com/SevereCloud/vksdk/v3/callback" import ( "context" "time" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3/internal" ) // RetryCounterFromContext returns the X-Retry-Counter from context. diff --git a/callback/context_test.go b/callback/context_test.go index f6e41c21..04750782 100644 --- a/callback/context_test.go +++ b/callback/context_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "github.com/SevereCloud/vksdk/v2/callback" - "github.com/SevereCloud/vksdk/v2/events" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3/callback" + "github.com/SevereCloud/vksdk/v3/events" + "github.com/SevereCloud/vksdk/v3/internal" "github.com/stretchr/testify/assert" ) diff --git a/callback/setting.go b/callback/setting.go index 75ba7ce5..d2d4d01a 100644 --- a/callback/setting.go +++ b/callback/setting.go @@ -1,13 +1,13 @@ // Package callback implements Callback API. -package callback // import "github.com/SevereCloud/vksdk/v2/callback" +package callback // import "github.com/SevereCloud/vksdk/v3/callback" import ( "crypto/rand" "errors" "fmt" - "github.com/SevereCloud/vksdk/v2" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3" + "github.com/SevereCloud/vksdk/v3/api" ) // generateRandomBytes returns securely generated random bytes. diff --git a/callback/setting_test.go b/callback/setting_test.go index dfdde43e..90af4c35 100644 --- a/callback/setting_test.go +++ b/callback/setting_test.go @@ -5,9 +5,9 @@ import ( "os" "testing" - "github.com/SevereCloud/vksdk/v2/api" - "github.com/SevereCloud/vksdk/v2/callback" - "github.com/SevereCloud/vksdk/v2/events" + "github.com/SevereCloud/vksdk/v3/api" + "github.com/SevereCloud/vksdk/v3/callback" + "github.com/SevereCloud/vksdk/v3/events" "github.com/stretchr/testify/assert" ) diff --git a/doc_test.go b/doc_test.go index f620a87a..87ae0a33 100644 --- a/doc_test.go +++ b/doc_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "github.com/SevereCloud/vksdk/v2" + "github.com/SevereCloud/vksdk/v3" ) type version struct { diff --git a/events/context.go b/events/context.go index 3c9e69f9..4fdbba6a 100644 --- a/events/context.go +++ b/events/context.go @@ -1,9 +1,9 @@ -package events // import "github.com/SevereCloud/vksdk/v2/events" +package events // import "github.com/SevereCloud/vksdk/v3/events" import ( "context" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3/internal" ) // GroupIDFromContext returns the GroupID from context. diff --git a/events/context_test.go b/events/context_test.go index 0a23d21f..16bb6fbf 100644 --- a/events/context_test.go +++ b/events/context_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/SevereCloud/vksdk/v2/events" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3/events" + "github.com/SevereCloud/vksdk/v3/internal" "github.com/stretchr/testify/assert" ) diff --git a/events/events.go b/events/events.go index c0cd3e6a..3ec3006b 100644 --- a/events/events.go +++ b/events/events.go @@ -3,14 +3,14 @@ Package events for community events handling. See more https://dev.vk.com/ru/api/community-events/json-schema */ -package events // import "github.com/SevereCloud/vksdk/v2/events" +package events // import "github.com/SevereCloud/vksdk/v3/events" import ( "context" "encoding/json" "fmt" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3/internal" ) // EventType type. diff --git a/events/events_test.go b/events/events_test.go index 8991b9b6..99555394 100644 --- a/events/events_test.go +++ b/events/events_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/SevereCloud/vksdk/v2/events" + "github.com/SevereCloud/vksdk/v3/events" ) const GID = 123456 diff --git a/events/objects.go b/events/objects.go index 8ee261ac..ccba1bb7 100644 --- a/events/objects.go +++ b/events/objects.go @@ -1,9 +1,9 @@ -package events // import "github.com/SevereCloud/vksdk/v2/events" +package events // import "github.com/SevereCloud/vksdk/v3/events" import ( "encoding/json" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // MessageNewObject struct. diff --git a/foaf/README.md b/foaf/README.md index 43bedc52..32375e26 100644 --- a/foaf/README.md +++ b/foaf/README.md @@ -1,6 +1,6 @@ # FOAF -[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v2/foaf)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/foaf) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v3/foaf)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/foaf) FOAF (акроним от Friend of a Friend - "друг друга") является машиночитаемым языком для описания людей, групп и отношений между ними. diff --git a/foaf/foaf.go b/foaf/foaf.go index bf628a51..94b0377a 100644 --- a/foaf/foaf.go +++ b/foaf/foaf.go @@ -4,14 +4,14 @@ Package foaf wrapper for FOAF. Specification https://web.archive.org/web/20140909053226/http://api.yandex.ru/blogs/doc/indexation/concepts/what-is-foaf.xml */ -package foaf // import "github.com/SevereCloud/vksdk/v2/foaf" +package foaf // import "github.com/SevereCloud/vksdk/v3/foaf" import ( "context" "encoding/xml" "net/http" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3/internal" ) // BaseURL url foaf. diff --git a/foaf/group.go b/foaf/group.go index 2f2a34dd..64b82d11 100644 --- a/foaf/group.go +++ b/foaf/group.go @@ -1,4 +1,4 @@ -package foaf // import "github.com/SevereCloud/vksdk/v2/foaf" +package foaf // import "github.com/SevereCloud/vksdk/v3/foaf" import ( "context" diff --git a/foaf/group_test.go b/foaf/group_test.go index 3d2077d0..d60179f3 100644 --- a/foaf/group_test.go +++ b/foaf/group_test.go @@ -6,7 +6,7 @@ import ( "net/http" "testing" - "github.com/SevereCloud/vksdk/v2/foaf" + "github.com/SevereCloud/vksdk/v3/foaf" "github.com/stretchr/testify/assert" ) diff --git a/foaf/image.go b/foaf/image.go index b1ad557d..9ba07185 100644 --- a/foaf/image.go +++ b/foaf/image.go @@ -1,4 +1,4 @@ -package foaf // import "github.com/SevereCloud/vksdk/v2/foaf" +package foaf // import "github.com/SevereCloud/vksdk/v3/foaf" // Img - An image that can be used to represent some thing (ie. those // depictions which are particularly representative of something, eg. one's photo on a homepage). diff --git a/foaf/person.go b/foaf/person.go index 744b1f16..76d71fa5 100644 --- a/foaf/person.go +++ b/foaf/person.go @@ -1,4 +1,4 @@ -package foaf // import "github.com/SevereCloud/vksdk/v2/foaf" +package foaf // import "github.com/SevereCloud/vksdk/v3/foaf" import ( "context" diff --git a/foaf/person_test.go b/foaf/person_test.go index 6bdc7c71..dea3ba29 100644 --- a/foaf/person_test.go +++ b/foaf/person_test.go @@ -6,7 +6,7 @@ import ( "net/http" "testing" - "github.com/SevereCloud/vksdk/v2/foaf" + "github.com/SevereCloud/vksdk/v3/foaf" "github.com/stretchr/testify/assert" ) diff --git a/games/example_test.go b/games/example_test.go index aae0f692..525a1405 100644 --- a/games/example_test.go +++ b/games/example_test.go @@ -4,7 +4,7 @@ import ( "fmt" "net/url" - "github.com/SevereCloud/vksdk/v2/games" + "github.com/SevereCloud/vksdk/v3/games" ) func ExampleParamsVerification() { diff --git a/games/verify_test.go b/games/verify_test.go index 2044aaf2..e810c7fc 100644 --- a/games/verify_test.go +++ b/games/verify_test.go @@ -6,7 +6,7 @@ import ( "net/url" "testing" - "github.com/SevereCloud/vksdk/v2/games" + "github.com/SevereCloud/vksdk/v3/games" ) func TestParamsVerify(t *testing.T) { diff --git a/go.mod b/go.mod index 8dc7bf66..33a88794 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/SevereCloud/vksdk/v2 +module github.com/SevereCloud/vksdk/v3 go 1.21 diff --git a/internal/charset.go b/internal/charset.go index 0174ebf2..3f5f4456 100644 --- a/internal/charset.go +++ b/internal/charset.go @@ -1,7 +1,7 @@ /* Package internal unimportable */ -package internal // import "github.com/SevereCloud/vksdk/v2/internal" +package internal // import "github.com/SevereCloud/vksdk/v3/internal" import ( "io" diff --git a/internal/charset_test.go b/internal/charset_test.go index 94c4919d..65e13e6a 100644 --- a/internal/charset_test.go +++ b/internal/charset_test.go @@ -5,7 +5,7 @@ import ( "io" "testing" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3/internal" "github.com/stretchr/testify/assert" ) diff --git a/internal/transport.go b/internal/transport.go index 53059f11..8c87e971 100644 --- a/internal/transport.go +++ b/internal/transport.go @@ -1,14 +1,14 @@ /* Package internal unimportable */ -package internal // import "github.com/SevereCloud/vksdk/v2/internal" +package internal // import "github.com/SevereCloud/vksdk/v3/internal" import ( "context" "fmt" "net/http" - "github.com/SevereCloud/vksdk/v2" + "github.com/SevereCloud/vksdk/v3" ) // UserAgent module. diff --git a/internal/transport_test.go b/internal/transport_test.go index 4ef24ff0..9fa56979 100644 --- a/internal/transport_test.go +++ b/internal/transport_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3/internal" "github.com/stretchr/testify/assert" ) diff --git a/longpoll-bot/README.md b/longpoll-bot/README.md index 458a1125..456e1429 100644 --- a/longpoll-bot/README.md +++ b/longpoll-bot/README.md @@ -1,6 +1,6 @@ # Bots Long Poll API -[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v2/longpoll-bot)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/longpoll-bot) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v3/longpoll-bot)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/longpoll-bot) [![VK](https://img.shields.io/badge/developers-%234a76a8.svg?logo=VK&logoColor=white)](https://dev.vk.com/ru/api/bots-long-poll/getting-started) ## Подключение Bots Long Poll API @@ -109,10 +109,10 @@ package main import ( "log" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" - longpoll "github.com/SevereCloud/vksdk/v2/longpoll-bot" - "github.com/SevereCloud/vksdk/v2/events" + longpoll "github.com/SevereCloud/vksdk/v3/longpoll-bot" + "github.com/SevereCloud/vksdk/v3/events" ) func main() { diff --git a/longpoll-bot/context.go b/longpoll-bot/context.go index cfc4fd90..8257ebaf 100644 --- a/longpoll-bot/context.go +++ b/longpoll-bot/context.go @@ -1,9 +1,9 @@ -package longpoll // import "github.com/SevereCloud/vksdk/v2/longpoll-bot" +package longpoll // import "github.com/SevereCloud/vksdk/v3/longpoll-bot" import ( "context" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3/internal" ) // TsFromContext returns the ts from context. diff --git a/longpoll-bot/context_test.go b/longpoll-bot/context_test.go index 115f52d3..66b0d68d 100644 --- a/longpoll-bot/context_test.go +++ b/longpoll-bot/context_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/SevereCloud/vksdk/v2/internal" - "github.com/SevereCloud/vksdk/v2/longpoll-bot" + "github.com/SevereCloud/vksdk/v3/internal" + "github.com/SevereCloud/vksdk/v3/longpoll-bot" "github.com/stretchr/testify/assert" ) diff --git a/longpoll-bot/errors_test.go b/longpoll-bot/errors_test.go index 293c50e4..ee387ef0 100644 --- a/longpoll-bot/errors_test.go +++ b/longpoll-bot/errors_test.go @@ -3,7 +3,7 @@ package longpoll_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/longpoll-bot" + "github.com/SevereCloud/vksdk/v3/longpoll-bot" "github.com/stretchr/testify/assert" ) diff --git a/longpoll-bot/longpoll.go b/longpoll-bot/longpoll.go index 979b7e1e..16a6ba9b 100644 --- a/longpoll-bot/longpoll.go +++ b/longpoll-bot/longpoll.go @@ -3,7 +3,7 @@ Package longpoll implements Bots Long Poll API. See more https://dev.vk.com/ru/api/bots-long-poll/getting-started */ -package longpoll // import "github.com/SevereCloud/vksdk/v2/longpoll-bot" +package longpoll // import "github.com/SevereCloud/vksdk/v3/longpoll-bot" import ( "context" @@ -14,10 +14,10 @@ import ( "net/http" "strconv" - "github.com/SevereCloud/vksdk/v2" - "github.com/SevereCloud/vksdk/v2/api" - "github.com/SevereCloud/vksdk/v2/events" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3" + "github.com/SevereCloud/vksdk/v3/api" + "github.com/SevereCloud/vksdk/v3/events" + "github.com/SevereCloud/vksdk/v3/internal" ) // Response struct. diff --git a/longpoll-bot/longpoll_test.go b/longpoll-bot/longpoll_test.go index 827cdb1b..78456fc8 100644 --- a/longpoll-bot/longpoll_test.go +++ b/longpoll-bot/longpoll_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" - "github.com/SevereCloud/vksdk/v2/api" - "github.com/SevereCloud/vksdk/v2/events" + "github.com/SevereCloud/vksdk/v3/api" + "github.com/SevereCloud/vksdk/v3/events" "github.com/stretchr/testify/assert" ) diff --git a/longpoll-user/README.md b/longpoll-user/README.md index 970992cc..e686d385 100644 --- a/longpoll-user/README.md +++ b/longpoll-user/README.md @@ -1,6 +1,6 @@ # User Long Poll API -[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v2/longpoll-user)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/longpoll-user) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v3/longpoll-user)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/longpoll-user) [![VK](https://img.shields.io/badge/developers-%234a76a8.svg?logo=VK&logoColor=white)](https://dev.vk.com/ru/api/user-long-poll/getting-started) ## Подключение User Long Poll API @@ -101,9 +101,9 @@ package main import ( "log" - "github.com/SevereCloud/vksdk/v2/api" + "github.com/SevereCloud/vksdk/v3/api" - longpoll "github.com/SevereCloud/vksdk/v2/longpoll-user" + longpoll "github.com/SevereCloud/vksdk/v3/longpoll-user" ) func main() { diff --git a/longpoll-user/errors_test.go b/longpoll-user/errors_test.go index 8a77f540..b0c7e174 100644 --- a/longpoll-user/errors_test.go +++ b/longpoll-user/errors_test.go @@ -3,7 +3,7 @@ package longpoll_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/longpoll-user" + "github.com/SevereCloud/vksdk/v3/longpoll-user" "github.com/stretchr/testify/assert" ) diff --git a/longpoll-user/longpoll.go b/longpoll-user/longpoll.go index bb33e811..b1d834a5 100644 --- a/longpoll-user/longpoll.go +++ b/longpoll-user/longpoll.go @@ -42,7 +42,7 @@ The module has the ability to modify the HTTP client # Wrapper allows you to get ready-made structures -Wrapper for v3 https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/longpoll-user/v3 +Wrapper for v3 https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/longpoll-user/v3 # Run and shutdown @@ -50,7 +50,7 @@ TODO: write about lp.Run() and lp.Shutdown() VK documentation https://dev.vk.com/ru/api/user-long-poll/getting-started */ -package longpoll // import "github.com/SevereCloud/vksdk/v2/longpoll-user" +package longpoll // import "github.com/SevereCloud/vksdk/v3/longpoll-user" import ( "encoding/json" @@ -60,9 +60,9 @@ import ( "strconv" "sync/atomic" - "github.com/SevereCloud/vksdk/v2/api" - "github.com/SevereCloud/vksdk/v2/internal" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/api" + "github.com/SevereCloud/vksdk/v3/internal" + "github.com/SevereCloud/vksdk/v3/object" ) // Mode additional answer options. diff --git a/longpoll-user/v3/README.md b/longpoll-user/v3/README.md index 03e6ca5d..0bb6ba5f 100644 --- a/longpoll-user/v3/README.md +++ b/longpoll-user/v3/README.md @@ -1,12 +1,12 @@ # Обработчик User Long Poll API v3 -[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v2/longpoll-user/v3)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/longpoll-user/v3) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v3/longpoll-user/v3)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/longpoll-user/v3) [![VK](https://img.shields.io/badge/developers-%234a76a8.svg?logo=VK&logoColor=white)](https://dev.vk.com/ru/api/user-long-poll/getting-started) Данный модуль поддерживает версию **3**. ```go -// import "github.com/SevereCloud/vksdk/v2/longpoll-user/v3" +// import "github.com/SevereCloud/vksdk/v3/longpoll-user/v3" w := wrapper.NewWrapper(lp) diff --git a/longpoll-user/v3/doc.go b/longpoll-user/v3/doc.go index 122f686c..bd3e4221 100644 --- a/longpoll-user/v3/doc.go +++ b/longpoll-user/v3/doc.go @@ -9,4 +9,4 @@ Package wrapper implement User Long Poll API wrapper v3. VK documentation https://dev.vk.com/ru/api/user-long-poll/getting-started */ -package wrapper // import "github.com/SevereCloud/vksdk/v2/longpoll-user/v3" +package wrapper // import "github.com/SevereCloud/vksdk/v3/longpoll-user/v3" diff --git a/longpoll-user/v3/errors.go b/longpoll-user/v3/errors.go index 4578d583..2491897b 100644 --- a/longpoll-user/v3/errors.go +++ b/longpoll-user/v3/errors.go @@ -1,4 +1,4 @@ -package wrapper // import "github.com/SevereCloud/vksdk/v2/longpoll-user/v3" +package wrapper // import "github.com/SevereCloud/vksdk/v3/longpoll-user/v3" import "fmt" diff --git a/longpoll-user/v3/extra.go b/longpoll-user/v3/extra.go index d7d90962..4b1b8496 100644 --- a/longpoll-user/v3/extra.go +++ b/longpoll-user/v3/extra.go @@ -1,4 +1,4 @@ -package wrapper // import "github.com/SevereCloud/vksdk/v2/longpoll-user/v3" +package wrapper // import "github.com/SevereCloud/vksdk/v3/longpoll-user/v3" import ( "reflect" diff --git a/longpoll-user/v3/flags.go b/longpoll-user/v3/flags.go index abbc5648..68b68954 100644 --- a/longpoll-user/v3/flags.go +++ b/longpoll-user/v3/flags.go @@ -1,4 +1,4 @@ -package wrapper // import "github.com/SevereCloud/vksdk/v2/longpoll-user/v3" +package wrapper // import "github.com/SevereCloud/vksdk/v3/longpoll-user/v3" // MessageFlag type. type MessageFlag int diff --git a/longpoll-user/v3/objects.go b/longpoll-user/v3/objects.go index 49b59bb4..0db685b9 100644 --- a/longpoll-user/v3/objects.go +++ b/longpoll-user/v3/objects.go @@ -1,4 +1,4 @@ -package wrapper // import "github.com/SevereCloud/vksdk/v2/longpoll-user/v3" +package wrapper // import "github.com/SevereCloud/vksdk/v3/longpoll-user/v3" import ( "time" diff --git a/longpoll-user/v3/wrapper.go b/longpoll-user/v3/wrapper.go index 5b844301..a79e0a28 100644 --- a/longpoll-user/v3/wrapper.go +++ b/longpoll-user/v3/wrapper.go @@ -1,6 +1,6 @@ -package wrapper // import "github.com/SevereCloud/vksdk/v2/longpoll-user/v3" +package wrapper // import "github.com/SevereCloud/vksdk/v3/longpoll-user/v3" -import "github.com/SevereCloud/vksdk/v2/longpoll-user" +import "github.com/SevereCloud/vksdk/v3/longpoll-user" // Wrapper struct. type Wrapper struct { diff --git a/longpoll-user/v3/wrapper_test.go b/longpoll-user/v3/wrapper_test.go index 3c209ac7..b653f9f6 100644 --- a/longpoll-user/v3/wrapper_test.go +++ b/longpoll-user/v3/wrapper_test.go @@ -6,11 +6,11 @@ import ( "testing" "time" - "github.com/SevereCloud/vksdk/v2/api" - wrapper "github.com/SevereCloud/vksdk/v2/longpoll-user/v3" + "github.com/SevereCloud/vksdk/v3/api" + wrapper "github.com/SevereCloud/vksdk/v3/longpoll-user/v3" "github.com/stretchr/testify/assert" - "github.com/SevereCloud/vksdk/v2/longpoll-user" + "github.com/SevereCloud/vksdk/v3/longpoll-user" ) func needUserToken(t *testing.T) { diff --git a/marusia/card_test.go b/marusia/card_test.go index bc223c0b..0251cb1b 100644 --- a/marusia/card_test.go +++ b/marusia/card_test.go @@ -3,7 +3,7 @@ package marusia_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/marusia" + "github.com/SevereCloud/vksdk/v3/marusia" "github.com/stretchr/testify/assert" ) diff --git a/marusia/cards.go b/marusia/cards.go index 57ef8dde..5e8e1e4e 100644 --- a/marusia/cards.go +++ b/marusia/cards.go @@ -1,4 +1,4 @@ -package marusia // import "github.com/SevereCloud/vksdk/v2/marusia" +package marusia // import "github.com/SevereCloud/vksdk/v3/marusia" // CardType тип карточки. type CardType string diff --git a/marusia/deeplink.go b/marusia/deeplink.go index b07af6c6..939a0b4d 100644 --- a/marusia/deeplink.go +++ b/marusia/deeplink.go @@ -1,4 +1,4 @@ -package marusia // import "github.com/SevereCloud/vksdk/v2/marusia" +package marusia // import "github.com/SevereCloud/vksdk/v3/marusia" import ( "encoding/base64" diff --git a/marusia/deeplink_test.go b/marusia/deeplink_test.go index 097cb7bf..2e46c211 100644 --- a/marusia/deeplink_test.go +++ b/marusia/deeplink_test.go @@ -3,7 +3,7 @@ package marusia_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/marusia" + "github.com/SevereCloud/vksdk/v3/marusia" "github.com/stretchr/testify/assert" ) diff --git a/marusia/skill.go b/marusia/skill.go index 661940b3..5b6504cd 100644 --- a/marusia/skill.go +++ b/marusia/skill.go @@ -172,7 +172,7 @@ https://skill-debugger.marusia.mail.ru/ http.ListenAndServe(":8080", nil) */ -package marusia // import "github.com/SevereCloud/vksdk/v2/marusia" +package marusia // import "github.com/SevereCloud/vksdk/v3/marusia" import ( "encoding/json" diff --git a/marusia/skill_test.go b/marusia/skill_test.go index b370e1e2..e4096667 100644 --- a/marusia/skill_test.go +++ b/marusia/skill_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/SevereCloud/vksdk/v2/marusia" + "github.com/SevereCloud/vksdk/v3/marusia" "github.com/stretchr/testify/assert" ) diff --git a/marusia/ssml/ssml.go b/marusia/ssml/ssml.go index 0cb5f48a..f375f160 100644 --- a/marusia/ssml/ssml.go +++ b/marusia/ssml/ssml.go @@ -1,5 +1,5 @@ // Package ssml implements Speech Synthesis Markup Language. -package ssml // import "github.com/SevereCloud/vksdk/v2/marusia/ssml" +package ssml // import "github.com/SevereCloud/vksdk/v3/marusia/ssml" import ( "bytes" diff --git a/marusia/ssml/ssml_test.go b/marusia/ssml/ssml_test.go index 23d2cc60..eaced3c8 100644 --- a/marusia/ssml/ssml_test.go +++ b/marusia/ssml/ssml_test.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/SevereCloud/vksdk/v2/marusia/ssml" + "github.com/SevereCloud/vksdk/v3/marusia/ssml" ) func ExampleNewBuilder() { diff --git a/marusia/webhook.go b/marusia/webhook.go index 1ee3fdb0..0709865d 100644 --- a/marusia/webhook.go +++ b/marusia/webhook.go @@ -1,4 +1,4 @@ -package marusia // import "github.com/SevereCloud/vksdk/v2/marusia" +package marusia // import "github.com/SevereCloud/vksdk/v3/marusia" import ( "encoding/json" diff --git a/marusia/webhook_test.go b/marusia/webhook_test.go index 89eccd35..aa016f88 100644 --- a/marusia/webhook_test.go +++ b/marusia/webhook_test.go @@ -7,7 +7,7 @@ import ( "net/http/httptest" "testing" - "github.com/SevereCloud/vksdk/v2/marusia" + "github.com/SevereCloud/vksdk/v3/marusia" "github.com/stretchr/testify/assert" ) diff --git a/object/account.go b/object/account.go index 7806a472..83e0498d 100644 --- a/object/account.go +++ b/object/account.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // AccountNameRequest struct. type AccountNameRequest struct { diff --git a/object/ads.go b/object/ads.go index a946c6e3..5d3653b6 100644 --- a/object/ads.go +++ b/object/ads.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // AdsAccesses struct. type AdsAccesses struct { diff --git a/object/apps.go b/object/apps.go index 422c0190..5df46603 100644 --- a/object/apps.go +++ b/object/apps.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // AppsApp type application type. const ( diff --git a/object/audio.go b/object/audio.go index 4aec2412..365aee37 100644 --- a/object/audio.go +++ b/object/audio.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "fmt" diff --git a/object/audio_test.go b/object/audio_test.go index d484e8fb..f1240099 100644 --- a/object/audio_test.go +++ b/object/audio_test.go @@ -3,7 +3,7 @@ package object_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) func TestAudioAudio_ToAttachment(t *testing.T) { diff --git a/object/auth.go b/object/auth.go index 78b3e10c..8a2e3c7f 100644 --- a/object/auth.go +++ b/object/auth.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // AuthSilentTokenProfile struct. type AuthSilentTokenProfile struct { diff --git a/object/board.go b/object/board.go index 0ee5679b..9074ef15 100644 --- a/object/board.go +++ b/object/board.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // BoardTopic struct. type BoardTopic struct { diff --git a/object/database.go b/object/database.go index 5db2b949..f19981fc 100644 --- a/object/database.go +++ b/object/database.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // DatabaseCity struct. type DatabaseCity struct { diff --git a/object/docs.go b/object/docs.go index b7a880fa..3bfeb5e0 100644 --- a/object/docs.go +++ b/object/docs.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "fmt" diff --git a/object/docs_test.go b/object/docs_test.go index 8e23b8b8..318c7d30 100644 --- a/object/docs_test.go +++ b/object/docs_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) func TestDocsDoc_ToAttachment(t *testing.T) { diff --git a/object/friends.go b/object/friends.go index 4f6866c3..64921f28 100644 --- a/object/friends.go +++ b/object/friends.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // FriendsFriendStatus FriendStatus type. const ( diff --git a/object/gifts.go b/object/gifts.go index 9abe95b2..c58b5cd1 100644 --- a/object/gifts.go +++ b/object/gifts.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // GiftsGift Privacy type. const ( diff --git a/object/groups.go b/object/groups.go index 52f92d8d..bdf54ce1 100644 --- a/object/groups.go +++ b/object/groups.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "bytes" diff --git a/object/groups_test.go b/object/groups_test.go index 8f84ef20..172a4f5b 100644 --- a/object/groups_test.go +++ b/object/groups_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" "github.com/stretchr/testify/assert" "github.com/vmihailenco/msgpack/v5" "github.com/vmihailenco/msgpack/v5/msgpcode" diff --git a/object/leads.go b/object/leads.go index a5d78fa0..4d445f65 100644 --- a/object/leads.go +++ b/object/leads.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // LeadsChecked struct. type LeadsChecked struct { diff --git a/object/market.go b/object/market.go index a09c5b13..7040eafe 100644 --- a/object/market.go +++ b/object/market.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "bytes" diff --git a/object/market_test.go b/object/market_test.go index ecd50894..066dfef7 100644 --- a/object/market_test.go +++ b/object/market_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" "github.com/stretchr/testify/assert" "github.com/vmihailenco/msgpack/v5" "github.com/vmihailenco/msgpack/v5/msgpcode" diff --git a/object/marusia.go b/object/marusia.go index a6671d4d..17de98bd 100644 --- a/object/marusia.go +++ b/object/marusia.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "encoding/json" diff --git a/object/messages.go b/object/messages.go index 9e091046..5b7444a6 100644 --- a/object/messages.go +++ b/object/messages.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "encoding/json" diff --git a/object/messages_test.go b/object/messages_test.go index e7a74d7f..71f022b6 100644 --- a/object/messages_test.go +++ b/object/messages_test.go @@ -3,7 +3,7 @@ package object_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" "github.com/stretchr/testify/assert" ) diff --git a/object/newsfeed.go b/object/newsfeed.go index 857fb4c5..dfddd496 100644 --- a/object/newsfeed.go +++ b/object/newsfeed.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // NewsfeedEventActivity struct. type NewsfeedEventActivity struct { diff --git a/object/notes.go b/object/notes.go index c238256e..36550577 100644 --- a/object/notes.go +++ b/object/notes.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "fmt" diff --git a/object/notes_test.go b/object/notes_test.go index 5a436bf3..16bfea5f 100644 --- a/object/notes_test.go +++ b/object/notes_test.go @@ -3,7 +3,7 @@ package object_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) func TestNotesNote_ToAttachment(t *testing.T) { diff --git a/object/notifications.go b/object/notifications.go index 781a1de7..a6d6fd85 100644 --- a/object/notifications.go +++ b/object/notifications.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // NotificationsFeedback struct. type NotificationsFeedback struct { diff --git a/object/object.go b/object/object.go index db504f5a..cca35a99 100644 --- a/object/object.go +++ b/object/object.go @@ -3,7 +3,7 @@ Package object contains objects for VK. See more https://dev.vk.com/ru/reference/objects */ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "bytes" diff --git a/object/object_test.go b/object/object_test.go index 1f6208a6..111e6ce5 100644 --- a/object/object_test.go +++ b/object/object_test.go @@ -6,7 +6,7 @@ import ( "reflect" "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" "github.com/stretchr/testify/assert" "github.com/vmihailenco/msgpack/v5" "github.com/vmihailenco/msgpack/v5/msgpcode" diff --git a/object/orders.go b/object/orders.go index 0d29dfb5..ad1e17bf 100644 --- a/object/orders.go +++ b/object/orders.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // OrdersAmount struct. type OrdersAmount struct { diff --git a/object/pages.go b/object/pages.go index 326550b3..5399de90 100644 --- a/object/pages.go +++ b/object/pages.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // Pages privacy settings. const ( diff --git a/object/photos.go b/object/photos.go index 81739bb9..8e01a61c 100644 --- a/object/photos.go +++ b/object/photos.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "fmt" diff --git a/object/photos_test.go b/object/photos_test.go index dd3be391..ac13f15a 100644 --- a/object/photos_test.go +++ b/object/photos_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) func TestPhotosPhoto_ToAttachment(t *testing.T) { diff --git a/object/polls.go b/object/polls.go index 44593da0..ca4c6b73 100644 --- a/object/polls.go +++ b/object/polls.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "fmt" diff --git a/object/polls_test.go b/object/polls_test.go index d1a83244..3580913e 100644 --- a/object/polls_test.go +++ b/object/polls_test.go @@ -3,7 +3,7 @@ package object_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) func TestPollsPoll_ToAttachment(t *testing.T) { diff --git a/object/raw.go b/object/raw.go index ccaa2b8d..0922b2ab 100644 --- a/object/raw.go +++ b/object/raw.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "fmt" diff --git a/object/raw_test.go b/object/raw_test.go index a48081cd..da8192d1 100644 --- a/object/raw_test.go +++ b/object/raw_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" "github.com/stretchr/testify/assert" "github.com/vmihailenco/msgpack/v5" ) diff --git a/object/secure.go b/object/secure.go index 5d64059f..fb54da0a 100644 --- a/object/secure.go +++ b/object/secure.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // SecureLevel struct. type SecureLevel struct { diff --git a/object/stats.go b/object/stats.go index 46b891ba..e524132b 100644 --- a/object/stats.go +++ b/object/stats.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // StatsActivity struct. type StatsActivity struct { diff --git a/object/stories.go b/object/stories.go index 9130d6ac..9d5981b6 100644 --- a/object/stories.go +++ b/object/stories.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "encoding/json" diff --git a/object/stories_test.go b/object/stories_test.go index 3204bd74..a224d8db 100644 --- a/object/stories_test.go +++ b/object/stories_test.go @@ -3,7 +3,7 @@ package object_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" "github.com/stretchr/testify/assert" ) diff --git a/object/users.go b/object/users.go index 248486b2..804adb40 100644 --- a/object/users.go +++ b/object/users.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "bytes" diff --git a/object/users_test.go b/object/users_test.go index 0760c337..b78023b5 100644 --- a/object/users_test.go +++ b/object/users_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" "github.com/stretchr/testify/assert" "github.com/vmihailenco/msgpack/v5" "github.com/vmihailenco/msgpack/v5/msgpcode" diff --git a/object/utils.go b/object/utils.go index cfd2772c..149f62b2 100644 --- a/object/utils.go +++ b/object/utils.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "bytes" diff --git a/object/utils_test.go b/object/utils_test.go index 057ade08..a90544b6 100644 --- a/object/utils_test.go +++ b/object/utils_test.go @@ -4,7 +4,7 @@ import ( "encoding/json" "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" "github.com/stretchr/testify/assert" "github.com/vmihailenco/msgpack/v5" "github.com/vmihailenco/msgpack/v5/msgpcode" diff --git a/object/video.go b/object/video.go index 6774fa00..08220b77 100644 --- a/object/video.go +++ b/object/video.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" import ( "fmt" diff --git a/object/video_test.go b/object/video_test.go index 40f1d2b9..b186a3ff 100644 --- a/object/video_test.go +++ b/object/video_test.go @@ -3,7 +3,7 @@ package object_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) func TestVideoVideo_ToAttachment(t *testing.T) { diff --git a/object/wall.go b/object/wall.go index 99443659..224337d5 100644 --- a/object/wall.go +++ b/object/wall.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // WallAppPost struct. type WallAppPost struct { diff --git a/object/widgets.go b/object/widgets.go index 75ca8be2..7f845242 100644 --- a/object/widgets.go +++ b/object/widgets.go @@ -1,4 +1,4 @@ -package object // import "github.com/SevereCloud/vksdk/v2/object" +package object // import "github.com/SevereCloud/vksdk/v3/object" // WidgetsCommentMedia struct. type WidgetsCommentMedia struct { diff --git a/payments/callback_test.go b/payments/callback_test.go index 65ef07fb..322da8e2 100644 --- a/payments/callback_test.go +++ b/payments/callback_test.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "github.com/SevereCloud/vksdk/v2/payments" + "github.com/SevereCloud/vksdk/v3/payments" "github.com/stretchr/testify/assert" ) diff --git a/payments/payments.go b/payments/payments.go index 42f4fb97..25cca6bf 100644 --- a/payments/payments.go +++ b/payments/payments.go @@ -99,7 +99,7 @@ In test mode, the suffix '_test' is added to the NotificationType parameter. The order IDs in test mode (i.e. the notification parameter OrderID) can overlap with the order IDs in operating mode. */ -package payments // import "github.com/SevereCloud/vksdk/v2/payments" +package payments // import "github.com/SevereCloud/vksdk/v3/payments" import ( "crypto/md5" //nolint: gosec diff --git a/payments/payments_test.go b/payments/payments_test.go index 086c0224..9fc4bf89 100644 --- a/payments/payments_test.go +++ b/payments/payments_test.go @@ -3,7 +3,7 @@ package payments_test import ( "testing" - "github.com/SevereCloud/vksdk/v2/payments" + "github.com/SevereCloud/vksdk/v3/payments" "github.com/stretchr/testify/assert" ) diff --git a/streaming/errors.go b/streaming/errors.go index 2e402e2e..5a3dcd7d 100644 --- a/streaming/errors.go +++ b/streaming/errors.go @@ -1,4 +1,4 @@ -package streaming // import "github.com/SevereCloud/vksdk/v2/streaming" +package streaming // import "github.com/SevereCloud/vksdk/v3/streaming" import ( "errors" diff --git a/streaming/errors_test.go b/streaming/errors_test.go index c148e2e6..d8813b78 100644 --- a/streaming/errors_test.go +++ b/streaming/errors_test.go @@ -4,8 +4,8 @@ import ( "errors" "testing" - "github.com/SevereCloud/vksdk/v2/api" - "github.com/SevereCloud/vksdk/v2/streaming" + "github.com/SevereCloud/vksdk/v3/api" + "github.com/SevereCloud/vksdk/v3/streaming" "github.com/stretchr/testify/assert" ) diff --git a/streaming/event.go b/streaming/event.go index d5ed2848..500c05ea 100644 --- a/streaming/event.go +++ b/streaming/event.go @@ -1,7 +1,7 @@ package streaming import ( - "github.com/SevereCloud/vksdk/v2/object" + "github.com/SevereCloud/vksdk/v3/object" ) // Event object, if status code is 100. diff --git a/streaming/streaming.go b/streaming/streaming.go index a8a160ad..f3d30c74 100644 --- a/streaming/streaming.go +++ b/streaming/streaming.go @@ -91,8 +91,8 @@ import ( "github.com/gorilla/websocket" - "github.com/SevereCloud/vksdk/v2/api" - "github.com/SevereCloud/vksdk/v2/internal" + "github.com/SevereCloud/vksdk/v3/api" + "github.com/SevereCloud/vksdk/v3/internal" ) type response struct { diff --git a/streaming/streaming_test.go b/streaming/streaming_test.go index 609703c0..ee49c08c 100644 --- a/streaming/streaming_test.go +++ b/streaming/streaming_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/assert" - "github.com/SevereCloud/vksdk/v2/api" - "github.com/SevereCloud/vksdk/v2/streaming" + "github.com/SevereCloud/vksdk/v3/api" + "github.com/SevereCloud/vksdk/v3/streaming" ) var stream *streaming.Streaming //nolint:gochecknoglobals diff --git a/vkapps/README.md b/vkapps/README.md index 00ea1e6c..18616508 100644 --- a/vkapps/README.md +++ b/vkapps/README.md @@ -1,6 +1,6 @@ # VK Mini Apps -[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v2/vkapps)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v2/vkapps) +[![PkgGoDev](https://pkg.go.dev/badge/github.com/SevereCloud/vksdk/v3/vkapps)](https://pkg.go.dev/github.com/SevereCloud/vksdk/v3/vkapps) [![VK](https://img.shields.io/badge/developers-%234a76a8.svg?logo=VK&logoColor=white)](https://dev.vk.com/ru/mini-apps/getting-started) [VK Mini Apps](https://dev.vk.com/ru/mini-apps/getting-started) — это платформа встраиваемых diff --git a/vkapps/example_test.go b/vkapps/example_test.go index 349ec630..1cb674b4 100644 --- a/vkapps/example_test.go +++ b/vkapps/example_test.go @@ -4,7 +4,7 @@ import ( "fmt" "net/url" - "github.com/SevereCloud/vksdk/v2/vkapps" + "github.com/SevereCloud/vksdk/v3/vkapps" ) func ExampleParamsVerification() { diff --git a/vkapps/params_test.go b/vkapps/params_test.go index e7664220..c67002a9 100644 --- a/vkapps/params_test.go +++ b/vkapps/params_test.go @@ -4,7 +4,7 @@ import ( "net/url" "testing" - "github.com/SevereCloud/vksdk/v2/vkapps" + "github.com/SevereCloud/vksdk/v3/vkapps" "github.com/stretchr/testify/assert" ) diff --git a/vkapps/verify_test.go b/vkapps/verify_test.go index 616fb40f..f558ab64 100644 --- a/vkapps/verify_test.go +++ b/vkapps/verify_test.go @@ -6,7 +6,7 @@ import ( "net/url" "testing" - "github.com/SevereCloud/vksdk/v2/vkapps" + "github.com/SevereCloud/vksdk/v3/vkapps" ) func TestParamsVerify(t *testing.T) {