Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #20 from edoardottt/master
Browse files Browse the repository at this point in the history
Fix Print errors
  • Loading branch information
KathanP19 authored Nov 30, 2021
2 parents 54817bd + cdace72 commit e38eab1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func main() {
if err != nil {
log.Fatal(err)
}
log.Println(emptyFile)
log.Println("Created " + outputFile)
emptyFile.Close()

var wg sync.WaitGroup
Expand Down Expand Up @@ -126,7 +126,7 @@ func checkreflection(link string) {
decoded := url.QueryEscape(link)
v, err := url.Parse(decoded)
if err != nil {
fmt.Printf("Error is %e", err)
fmt.Printf("Error is %s\n", err.Error())
}
u = v
}
Expand All @@ -136,7 +136,7 @@ func checkreflection(link string) {
}
q, err := url.ParseQuery(u.RawQuery)
if err != nil {
fmt.Printf("Error is %e", err)
fmt.Printf("Error is %s\n", err.Error())
}

if requestData != "" {
Expand Down

0 comments on commit e38eab1

Please sign in to comment.