Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1072)

Issue 5447069: code review 5447069: use new strconv API (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 4 months ago by rsc
Modified:
13 years, 4 months ago
Reviewers:
CC:
golang-dev, gri
Visibility:
Public.

Description

use new strconv API All but 3 cases (in gcimporter.go and hixie.go) are automatic conversions using gofix. No attempt is made to use the new Append functions even though there are definitely opportunities.

Patch Set 1 #

Patch Set 2 : diff -r 73b9e4cb1afe https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 73b9e4cb1afe https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 73b9e4cb1afe https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 497c07d73643 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -153 lines) Patch
M doc/talks/io2010/eval1.go View 1 2 4 chunks +2 lines, -4 lines 0 comments Download
M doc/talks/io2010/eval2.go View 1 2 4 chunks +2 lines, -4 lines 0 comments Download
M misc/cgo/stdio/fib.go View 1 1 chunk +1 line, -1 line 0 comments Download
M misc/dashboard/builder/http.go View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/cgo/gcc.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/cmd/goinstall/download.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/cmd/gotest/flag.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/archive/tar/reader.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/archive/tar/writer.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/compress/flate/huffman_bit_writer.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/compress/flate/inflate.go View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/crypto/openpgp/write.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/crypto/tls/handshake_server_test.go View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/debug/dwarf/buf.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/debug/dwarf/const.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/debug/dwarf/type.go View 1 3 chunks +5 lines, -5 lines 0 comments Download
M src/pkg/debug/elf/elf.go View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/debug/macho/macho.go View 1 2 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/encoding/ascii85/ascii85.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/encoding/asn1/common.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/encoding/base32/base32.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/encoding/base64/base64.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/encoding/git85/git.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/encoding/json/decode.go View 1 6 chunks +6 lines, -6 lines 0 comments Download
M src/pkg/encoding/json/encode.go View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/pkg/encoding/xml/marshal.go View 1 1 chunk +4 lines, -4 lines 0 comments Download
M src/pkg/encoding/xml/read.go View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/encoding/xml/xml.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/exp/norm/maketables.go View 1 5 chunks +6 lines, -6 lines 0 comments Download
M src/pkg/exp/norm/normregtest.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/exp/sql/convert.go View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/exp/sql/driver/types.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/exp/types/gcimporter.go View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M src/pkg/expvar/expvar.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/flag/flag.go View 1 6 chunks +6 lines, -6 lines 0 comments Download
M src/pkg/fmt/format.go View 1 1 chunk +12 lines, -12 lines 0 comments Download
M src/pkg/fmt/scan.go View 1 4 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/html/template/css_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/image/png/writer.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/http/cgi/child.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/http/chunked.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/net/http/fs.go View 1 4 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/net/http/httputil/chunked.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/net/http/pprof/pprof.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/net/http/server.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/http/transfer.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/net/mail/message.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/old/template/parse.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/reflect/tostring_test.go View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/pkg/regexp/syntax/prog.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/regexp/syntax/regexp.go View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/text/template/parse/node.go View 1 3 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/time/time_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/unicode/maketables.go View 1 4 chunks +6 lines, -6 lines 0 comments Download
M src/pkg/websocket/hixie.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M test/fixedbugs/bug120.go View 1 1 chunk +4 lines, -4 lines 0 comments Download
M test/fixedbugs/bug260.go View 1 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello golang-dev (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 4 months ago (2011-12-01 22:43:47 UTC) #1
gri
LGTM - gri On Thu, Dec 1, 2011 at 2:43 PM, <rsc@golang.org> wrote: > Reviewers: ...
13 years, 4 months ago (2011-12-01 23:01:57 UTC) #2
rsc
13 years, 4 months ago (2011-12-05 20:48:49 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=3272ed00e536 ***

use new strconv API

All but 3 cases (in gcimporter.go and hixie.go)
are automatic conversions using gofix.

No attempt is made to use the new Append functions
even though there are definitely opportunities.

R=golang-dev, gri
CC=golang-dev
http://codereview.appspot.com/5447069
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b