1
0
mirror of https://github.com/golang/go synced 2024-11-20 10:54:49 -07:00
go/src
Ian Lance Taylor 1e65616e1a testing: style change: omit unnecessary new
This was brought to my attention because a user thought that because
the file was named "example.go" it served as an example of good coding
practice.  It's not an example, of course, but may as well use a more
idiomatic style anyhow.

Change-Id: I7aa720f603f09f7d597fb7536dbf46ef09144e28
Reviewed-on: https://go-review.googlesource.com/1902
Reviewed-by: Minux Ma <minux@golang.org>
2014-12-20 01:40:11 +00:00
..
archive
bufio bufio: remove unused 'panicked' variable from test 2014-11-06 15:22:29 +11:00
builtin
bytes
cmd cmd/ld: add fallthrough comment 2014-12-18 22:54:50 +00:00
compress compress/bzip2: s/repeat_power/repeatPower/ 2014-12-19 01:29:00 +00:00
container
crypto crypto/tls: change default minimum version to TLS 1.0. 2014-12-18 19:49:41 +00:00
database/sql
debug all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
encoding encoding/json: mention that the "string" tag applies to booleans 2014-12-14 23:24:54 +00:00
errors
expvar
flag
fmt
go all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
hash all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
html
image image/jpeg: handle Read returning n > 0, err != nil in d.fill 2014-11-22 13:55:33 -05:00
index/suffixarray
internal/syscall
io
lib9
libbio
liblink liblink: fail for too-large register offset constants 2014-12-18 22:32:18 +00:00
log
math math: Added parity check to ProbablyPrime 2014-12-12 00:25:16 +00:00
mime
net net/http/httputil: don't use DisableKeepAlives in DumpRequestOut, fix build 2014-12-16 06:58:43 +00:00
os os: handle the sticky bit separately for *BSD and Solaris 2014-12-17 16:07:28 +00:00
path path/filepath: remove named result parameter for VolumeName 2014-12-18 16:05:07 +00:00
reflect reflect: remove a double negative, use the rtype.pointers method for clarity 2014-12-16 21:17:07 +00:00
regexp regexp/syntax: Clarify comment of OpAnyCharNotNL. 2014-11-11 18:52:07 -08:00
runtime runtime: simplify cpuprof hash calculation 2014-12-19 02:50:40 +00:00
sort sort: deduplicate inner loop of Stable 2014-12-19 18:26:26 +00:00
strconv
strings
sync all: merge dev.garbage (d1238958d4ae) into default branch 2014-12-05 20:34:45 -05:00
syscall all: power64 is now ppc64 2014-12-05 19:13:20 -05:00
testing testing: style change: omit unnecessary new 2014-12-20 01:40:11 +00:00
text
time
unicode
unsafe
all.bash
all.bat
all.rc
androidtest.bash
clean.bash
clean.bat
clean.rc
make.bash build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
make.bat build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
run.bat build: change all.bash output to be more markdown-friendly 2014-12-13 00:03:23 +00:00
run.rc
sudo.bash