Skip to content

Commit

Permalink
output using fmt instead of log
Browse files Browse the repository at this point in the history
  • Loading branch information
david1155 committed Apr 27, 2023
1 parent 63b79fa commit d12675f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"context"
"encoding/json"
"flag"
"fmt"
"log"
"strings"
"sync"
Expand Down Expand Up @@ -116,5 +117,5 @@ func main() {
log.Fatalf("Failed to marshal JSON result: %v", err)
}

log.Println(string(jsonResult))
fmt.Println(string(jsonResult))
}

0 comments on commit d12675f

Please sign in to comment.