Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
SevereCloud committed Mar 19, 2022
1 parent 140e164 commit e983680
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/...
1 change: 0 additions & 1 deletion object/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ type AccountAccountCounters struct {

// AccountInfo struct.
type AccountInfo struct {

// Country code.
Country string `json:"country"`

Expand Down
1 change: 0 additions & 1 deletion object/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,6 @@ type MessageContentSource struct {
Type string `json:"type"`
MessageContentSourceMessage // type message
MessageContentSourceURL // type url

}

// NewMessageContentSourceMessage ...
Expand Down
6 changes: 4 additions & 2 deletions payments/payments.go
Original file line number Diff line number Diff line change
Expand Up @@ -648,15 +648,17 @@ type SubscriptionStatusChangeResponse struct {
func (cb *Callback) OnSubscriptionStatusChange(f func(e SubscriptionStatusChangeRequest) (
*SubscriptionStatusChangeResponse,
*Error,
)) {
),
) {
cb.subscriptionStatusChange = f
}

// OnSubscriptionStatusChangeTest OnSubscriptionStatusChange for test.
func (cb *Callback) OnSubscriptionStatusChangeTest(f func(e SubscriptionStatusChangeRequest) (
*SubscriptionStatusChangeResponse,
*Error,
)) {
),
) {
cb.subscriptionStatusChangeTest = f
}

Expand Down

0 comments on commit e983680

Please sign in to comment.