Merge pull request #43 from donatj/patch-1

Corrects README example
This commit is contained in:
Vadym Slizov 2018-06-18 10:36:34 +03:00 committed by GitHub
commit 26117164d8
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: