Skip to content

Commit 1a4d4e4

Browse files
committed
update readme to be 100% more runnable by default
fixes #4
1 parent 0a5a89a commit 1a4d4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ n, err := out[0].(int), out[1].(error)
1313
if err != nil {
1414
return err
1515
}
16-
fmt.Println("wrote", n, "bytes")
16+
fmt.Printf("wrote %d bytes\n", n)
1717
```
1818

1919
Caveat: you have to have called `fmt.Printf` elsewhere in your binary.

0 commit comments

Comments
 (0)