• Rob Pike's avatar
    fmt: unify the printing examples · 5be78668
    Rob Pike authored
    Provide an example for each of the printing functions (Print,
    Sprintf, Fprintln etc.), and make them all produce the same output
    so their usage can be compared.
    
    Also add a package-level example explaining the difference between
    how Printf, Println, and Print behave.
    
    There are more examples to come.
    
    Update #27554.
    
    Change-Id: Ide03e5233f3762a9ee2ac0269f534ab927562ce2
    Reviewed-on: https://go-review.googlesource.com/136615Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    5be78668
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...