Skip to content

Commit

Permalink
use pkg.WriteTo
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed May 4, 2022
1 parent 48511f3 commit c3d4c64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func main() {
Val("Hello").Call(1).EndStmt(). // func(v string) { ... } ("Hello")
End()

gox.WriteTo(os.Stdout, pkg)
pkg.WriteTo(os.Stdout)
}
```

Expand Down
2 changes: 1 addition & 1 deletion tutorial/01-Basic/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ func main() {
Val("Hello").Call(1).EndStmt(). // func(v string) { ... } ("Hello")
End()

gox.WriteTo(os.Stdout, pkg)
pkg.WriteTo(os.Stdout)
}

0 comments on commit c3d4c64

Please sign in to comment.