Skip to content

Commit

Permalink
feat: remove url from result
Browse files Browse the repository at this point in the history
  • Loading branch information
eynopv committed Jun 19, 2024
1 parent ccfbe5e commit 16c523d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/result/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ func NewResult(
}

func (r *Result) Print() {
fmt.Println(r.Path)

if r.StatusCode < 300 {
fmt.Printf("%v %v [%v]\n", r.Protocol, printer.Green(r.Status), r.ElapsedTime)
} else if r.StatusCode >= 300 && r.StatusCode < 400 {
Expand All @@ -67,8 +65,6 @@ func (r *Result) Print() {
fmt.Printf("%v %v [%v]\n", r.Protocol, printer.Red(r.Status), r.ElapsedTime)
}

fmt.Println()

for key, value := range r.Headers {
fmt.Printf("%s: %s\n", printer.Cyan(key), strings.Join(value, ", "))
}
Expand Down

0 comments on commit 16c523d

Please sign in to comment.