aboutsummaryrefslogtreecommitdiff
path: root/bank.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-03-23 11:26:22 +0700
committerShulhan <ms@kilabit.info>2023-03-23 11:26:22 +0700
commit4065a6c41d972b4bf800d1ac8df4c5cf89687719 (patch)
treef3ba592c50f56de628e9b77bc9b83d4a0312acfa /bank.go
parentb4d4ce36ad9186b25828f0a350a9ae143ec870e9 (diff)
downloadduitku-4065a6c41d972b4bf800d1ac8df4c5cf89687719.tar.xz
all: replace golangci-lint with revive
The golangci-lint is become unusable when building with Go tip and their default run does not return any results. This changes fix all code and comments reported by revive.
Diffstat (limited to 'bank.go')
-rw-r--r--bank.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bank.go b/bank.go
index 0112e4f..bc13df6 100644
--- a/bank.go
+++ b/bank.go
@@ -7,6 +7,7 @@ import (
"github.com/shuLhan/share/lib/math/big"
)
+// Bank contains bank information from response of ListBank.
type Bank struct {
MaxTransfer *big.Rat `json:"maxAmountTransfer"`