Corrects README example

This commit is contained in:
Jesse Donat 2018-06-17 21:16:05 -05:00 committed by GitHub
parent 063726aac4
commit 78d78ff74f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ nodes := &stmt.StmtList{
file := os.Stdout
p := printer.NewPrinter(file, " ")
p.PrintFile(nodes)
p.Print(nodes)
```
It prints to stdout: