diff options
| author | Shulhan <ms@kilabit.info> | 2023-03-23 11:26:22 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-03-23 11:26:22 +0700 |
| commit | 4065a6c41d972b4bf800d1ac8df4c5cf89687719 (patch) | |
| tree | f3ba592c50f56de628e9b77bc9b83d4a0312acfa /request.go | |
| parent | b4d4ce36ad9186b25828f0a350a9ae143ec870e9 (diff) | |
| download | duitku-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 'request.go')
| -rw-r--r-- | request.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,8 @@ type Request struct { Timestamp int64 `json:"timestamp"` } +// CreateDisburseRequest create request for disbursement using ClientOptions +// opts. func CreateDisburseRequest(opts ClientOptions) (req Request) { req.UserID = opts.DisburseUserID req.Email = opts.DisburseEmail |
