From 6e27a84dba52e68fe7b75df50190934ab96c1946 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 21 Aug 2022 02:14:04 +0700 Subject: all: reformat with Go 1.19 gofmt --- run_request.go | 6 ------ 1 file changed, 6 deletions(-) (limited to 'run_request.go') diff --git a/run_request.go b/run_request.go index 36a2bca..ac875df 100644 --- a/run_request.go +++ b/run_request.go @@ -11,9 +11,7 @@ import ( vegeta "github.com/tsenart/vegeta/v12/lib" ) -// // RunRequest define the request to run HTTP or WebSocket target. -// type RunRequest struct { result *AttackResult @@ -24,10 +22,8 @@ type RunRequest struct { Locker sync.Mutex `json:"-"` } -// // generateRunRequest merge the run request with original target and HTTP // target into new RunRequest. -// func generateRunRequest( env *Environment, req *RunRequest, @@ -65,10 +61,8 @@ func generateRunRequest( return outrr } -// // generateWebSocketTarget merge the run request with original target and // WebSocket target into new RunRequest -// func generateWebSocketTarget( env *Environment, req *RunRequest, -- cgit v1.3