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

Commit

Permalink
Fix Print errors #19
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardottt committed Nov 30, 2021
1 parent 54817bd commit cdace72
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 cdace72

Please sign in to comment.