mirror of
https://github.com/aykhans/dodo.git
synced 2025-04-16 09:53:12 +00:00
Merge pull request #96 from aykhans/refactor/general
All checks were successful
golangci-lint / lint (push) Successful in 3m58s
All checks were successful
golangci-lint / lint (push) Successful in 3m58s
💄 General refactoring
This commit is contained in:
commit
0aeeb484e2
@ -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" \
|
||||
|
3
main.go
3
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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user