diff options
| author | Shulhan <ms@kilabit.info> | 2023-11-11 13:33:11 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-11-11 13:34:43 +0700 |
| commit | 08852664aa6952e727addb0c24ad8f56274e09bb (patch) | |
| tree | d4f59e9000a2676bf1c5952c0cbeb6a5ff1f7443 /http_target.go | |
| parent | e56ee3e03a34fa738b626a4fd22fbc051bf7f0b0 (diff) | |
| download | gorankusu-08852664aa6952e727addb0c24ad8f56274e09bb.tar.xz | |
Makefile: replace the Go linter and apply all their recommendations
Previously, we use golangci-lint as linter.
This linter does not provides any useful recommendation lately and the
development is quite a mess, sometimes its break when using Go tip.
In this changes we replace it with revive, fieldalignment, and shadow;
and fix all of their recommendations.
Diffstat (limited to 'http_target.go')
| -rw-r--r-- | http_target.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/http_target.go b/http_target.go index 154d839..8e42309 100644 --- a/http_target.go +++ b/http_target.go @@ -32,6 +32,7 @@ type HttpAttackHandler func(rr *RunRequest) vegeta.Targeter // the actual Attack being called. type HttpPreAttackHandler func(rr *RunRequest) +// HttpTarget define the HTTP endpoint that can be attached to Trunks. type HttpTarget struct { Params KeyFormInput ConvertParams HttpConvertParams `json:"-"` |
