Skip to content

Commit 0aeeb48

Browse files
authored
Merge pull request #96 from aykhans/refactor/general
πŸ’„ General refactoring
2 parents aa6ec45 + fc3244d commit 0aeeb48

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

β€Žconfig/cli.goβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Usage with all flags:
2727
-u https://example.com -m POST \
2828
-d 10 -r 1000 -t 3s \
2929
-b "body1" -body "body2" \
30-
-H "header1: value1" -header "header2: value2" \
30+
-H "header1:value1" -header "header2:value2" \
3131
-p "param1=value1" -param "param2=value2" \
3232
-c "cookie1=value1" -cookie "cookie2=value2" \
3333
-x "http://proxy.example.com:8080" -proxy "socks5://proxy2.example.com:8080" \

β€Žmain.goβ€Ž

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ func main() {
3636
utils.PrintErrAndExit(errors.Join(errs...))
3737
}
3838

39-
// for _, param := range conf.Params {
40-
// fmt.Printf("%s: %v\n", param.Key, param.Value)
41-
// }
4239
requestConf := config.NewRequestConfig(conf)
4340
requestConf.Print()
4441

β€Žoutput.txtβ€Ž

Whitespace-only changes.

0 commit comments

Comments
Β (0)