From fc3244dc335a6b28dee87071a7f688fdfd6f399d Mon Sep 17 00:00:00 2001 From: Aykhan Shahsuvarov Date: Wed, 19 Mar 2025 05:28:14 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20General=20refactoring?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/cli.go | 2 +- main.go | 3 --- output.txt | 0 3 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 output.txt diff --git a/config/cli.go b/config/cli.go index 794a9d3..0977306 100644 --- a/config/cli.go +++ b/config/cli.go @@ -27,7 +27,7 @@ Usage with all flags: -u https://example.com -m POST \ -d 10 -r 1000 -t 3s \ -b "body1" -body "body2" \ - -H "header1: value1" -header "header2: value2" \ + -H "header1:value1" -header "header2:value2" \ -p "param1=value1" -param "param2=value2" \ -c "cookie1=value1" -cookie "cookie2=value2" \ -x "http://proxy.example.com:8080" -proxy "socks5://proxy2.example.com:8080" \ diff --git a/main.go b/main.go index da7a240..5e99a86 100644 --- a/main.go +++ b/main.go @@ -36,9 +36,6 @@ func main() { utils.PrintErrAndExit(errors.Join(errs...)) } - // for _, param := range conf.Params { - // fmt.Printf("%s: %v\n", param.Key, param.Value) - // } requestConf := config.NewRequestConfig(conf) requestConf.Print() diff --git a/output.txt b/output.txt deleted file mode 100644 index e69de29..0000000