Skip to content

Commit

Permalink
Change the JSON to pretty-printed.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Oct 11, 2023
1 parent c5ce23f commit 5e6f9fb
Show file tree
Hide file tree
Showing 2 changed files with 1,467 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func main() {

sort.Strings(tldsRaw)

b, err := json.Marshal(tldsRaw)
b, err := json.MarshalIndent(tldsRaw, "", " ")
if err != nil {
log.Fatal(err)
}
Expand Down
Loading

0 comments on commit 5e6f9fb

Please sign in to comment.