Russ Cox
|
5d436b9def
|
bytes.SplitAfter and strings.SplitAfter
most common usage is:
lines := strings.SplitAfter(text, "\n", 0)
R=r
http://go/go-review/1018042
|
2009-11-04 15:19:30 -08:00 |
|
Russ Cox
|
91549438d8
|
apply gofmt to rand reflect regexp rpc runtime sort strconv strings sync syscall testing time unicode unsafe utf8
R=gri
DELTA=1409 (79 added, 24 deleted, 1306 changed)
OCL=35415
CL=35437
|
2009-10-07 11:55:06 -07:00 |
|
Russ Cox
|
ca6a0fee1b
|
more "declared and not used".
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-15 09:41:59 -07:00 |
|
Rob Pike
|
d80a177a9e
|
make ToUpper, ToLower etc. handle unicode properly.
Change their names too.
R=rsc
DELTA=206 (123 added, 2 deleted, 81 changed)
OCL=34170
CL=34194
|
2009-09-01 11:06:28 -07:00 |
|
Rob Pike
|
149e3d332c
|
rearrange some constants. unicode package now defines MaxRune and ReplacementChar.
utf8 package imports unicode to get those definitions.
regenerate dependencies.
R=rsc
DELTA=41 (19 added, 3 deleted, 19 changed)
OCL=34123
CL=34129
|
2009-08-31 13:01:25 -07:00 |
|
Russ Cox
|
b04ac108fd
|
convert non-low-level non-google pkg code
to whole-package compilation.
R=r
OCL=33070
CL=33101
|
2009-08-12 13:19:17 -07:00 |
|
Russ Cox
|
a50cbf6c73
|
style police: parens in if, for, switch, range
R=r
DELTA=32 (0 added, 3 deleted, 29 changed)
OCL=30718
CL=30725
|
2009-06-24 20:12:50 -07:00 |
|
David Symonds
|
30533d607a
|
Change strings.Split, bytes.Split to take a maximum substring count argument.
R=rsc
APPROVED=r
DELTA=131 (39 added, 10 deleted, 82 changed)
OCL=30669
CL=30723
|
2009-06-24 19:02:29 -07:00 |
|
Steve Newman
|
f315fb3d56
|
Basic HTTP client.
R=rsc
APPROVED=rsc
DELTA=392 (386 added, 2 deleted, 4 changed)
OCL=29963
CL=30107
|
2009-06-09 10:58:58 -07:00 |
|
Rob Pike
|
d90e7cbac6
|
mv src/lib to src/pkg
tests: all.bash passes, gobuild still works, godoc still works.
R=rsc
OCL=30096
CL=30102
|
2009-06-09 09:53:44 -07:00 |
|