From e983680a2c27787d571362892aba53ae5e86d59d Mon Sep 17 00:00:00 2001 From: Suvorov Daniil Date: Sat, 19 Mar 2022 20:45:50 +0300 Subject: [PATCH] ci: update --- .github/workflows/golangci-lint.yml | 2 +- object/account.go | 1 - object/messages.go | 1 - payments/payments.go | 6 ++++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index a4a6760e..8c5cb293 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -13,7 +13,7 @@ jobs: # Required: the version of golangci-lint is required and must be # specified without patch version: we always use the latest # patch version. - version: v1.44 + version: v1.45 # Optional: golangci-lint command line arguments. # args: ./the-only-dir-to-analyze/... diff --git a/object/account.go b/object/account.go index ca04dce1..7806a472 100644 --- a/object/account.go +++ b/object/account.go @@ -84,7 +84,6 @@ type AccountAccountCounters struct { // AccountInfo struct. type AccountInfo struct { - // Country code. Country string `json:"country"` diff --git a/object/messages.go b/object/messages.go index 2bf69096..e06bf51e 100644 --- a/object/messages.go +++ b/object/messages.go @@ -409,7 +409,6 @@ type MessageContentSource struct { Type string `json:"type"` MessageContentSourceMessage // type message MessageContentSourceURL // type url - } // NewMessageContentSourceMessage ... diff --git a/payments/payments.go b/payments/payments.go index 35aab9fb..0331a006 100644 --- a/payments/payments.go +++ b/payments/payments.go @@ -648,7 +648,8 @@ type SubscriptionStatusChangeResponse struct { func (cb *Callback) OnSubscriptionStatusChange(f func(e SubscriptionStatusChangeRequest) ( *SubscriptionStatusChangeResponse, *Error, -)) { +), +) { cb.subscriptionStatusChange = f } @@ -656,7 +657,8 @@ func (cb *Callback) OnSubscriptionStatusChange(f func(e SubscriptionStatusChange func (cb *Callback) OnSubscriptionStatusChangeTest(f func(e SubscriptionStatusChangeRequest) ( *SubscriptionStatusChangeResponse, *Error, -)) { +), +) { cb.subscriptionStatusChangeTest = f }