summaryrefslogtreecommitdiff
path: root/src/pkg/datafmt/datafmt.go
AgeCommit message (Collapse)AuthorFilesLines
2009-10-14move datafmt into expRuss Cox1-733/+0
R=gri DELTA=3006 (1503 added, 1503 deleted, 0 changed) OCL=35730 CL=35735
2009-09-17use buf.String() instead of string(buf.Bytes())Rob Pike1-1/+1
use strings.Buffer instead of bytes.Buffer in some places R=rsc DELTA=40 (0 added, 3 deleted, 37 changed) OCL=34770 CL=34775
2009-09-17unused importsRuss Cox1-3/+0
R=r OCL=34731 CL=34731
2009-09-16rename bytes.Buffer.Data() to bytes.Buffer.Bytes()Rob Pike1-4/+4
R=rsc DELTA=152 (6 added, 0 deleted, 146 changed) OCL=34695 CL=34701
2009-09-15more "declared and not used".Russ Cox1-1/+1
the last round omitted := range and only checked 1 out of N vars in a multi-var := R=r OCL=34624 CL=34638
2009-09-09update type switch to match spec.Russ Cox1-1/+1
R=ken OCL=34471 CL=34471
2009-08-12delete forward type declarationsRuss Cox1-2/+0
R=r DELTA=163 (1 added, 149 deleted, 13 changed) OCL=33106 CL=33111
2009-08-05- FieldByName lookup through anonymous fieldsRobert Griesemer1-47/+7
- FieldByIndex - changed StructField.Index type from int -> []int - adjustments to reflect clients R=rsc,r DELTA=336 (263 added, 47 deleted, 26 changed) OCL=32731 CL=32802
2009-07-16use FieldByName where possible.Rob Pike1-5/+2
R=rsc DELTA=20 (0 added, 12 deleted, 8 changed) OCL=31758 CL=31758
2009-07-07datafmt: use new reflect interface (CL 31107)Russ Cox1-58/+48
R=gri DELTA=70 (7 added, 17 deleted, 46 changed) OCL=31113 CL=31283
2009-07-07Avoid race condition. Following the left to right rule,Ian Lance Taylor1-1/+2
s.output.Data() was being retrieved before the synchronization point, which meant that it could be retrieved before the goroutine wrote it. Using gccgo this caused random errors. R=gri DELTA=2 (1 added, 0 deleted, 1 changed) OCL=31046 CL=31267
2009-06-29io.StringBytes -> strings.BytesRuss Cox1-9/+10
io.ByteBuffer -> bytes.Buffer left io.ByteBuffer stub around for now, for protocol compiler. R=r OCL=30861 CL=30872
2009-06-09mv src/lib to src/pkgRob Pike1-0/+789
tests: all.bash passes, gobuild still works, godoc still works. R=rsc OCL=30096 CL=30102