1
0
mirror of https://github.com/golang/go synced 2024-11-26 02:07:57 -07:00

minor adjustment to comment formatting for better godoc output

R=r
DELTA=5  (0 added, 0 deleted, 5 changed)
OCL=27687
CL=27689
This commit is contained in:
Robert Griesemer 2009-04-21 15:30:17 -07:00
parent 011bf2b6d3
commit 9c456283f3

View File

@ -29,14 +29,14 @@ func init() {
Fmt is the raw formatter used by Printf etc. Not meant for normal use.
See print.go for a more palatable interface.
Model is to accumulate operands into an internal buffer and then
The model is to accumulate operands into an internal buffer and then
retrieve the buffer in one hit using Str(), Putnl(), etc. The formatting
methods return ``self'' so the operations can be chained.
f := fmt.New();
print(f.Fmt_d(1234).Fmt_s("\n").Str()); // create string, print it
f.Fmt_d(-1234).Fmt_s("\n").Put(); // print string
f.Fmt_ud(1<<63).Putnl(); // print string with automatic newline
f := fmt.New();
print(f.Fmt_d(1234).Fmt_s("\n").Str()); // create string, print it
f.Fmt_d(-1234).Fmt_s("\n").Put(); // print string
f.Fmt_ud(1<<63).Putnl(); // print string with automatic newline
*/
type Fmt struct {
buf string;