Use the new scalarliterals option for repr

This commit is contained in:
2023-08-22 21:08:50 -07:00
parent 54209e2191
commit a810595186
3 changed files with 4 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ func main() {
}
if *printGo {
repr.Println(fc)
repr.New(os.Stdout, repr.ScalarLiterals()).Println(fc)
} else {
enc := json.NewEncoder(os.Stdout)
if *pretty {