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

Issue 3378041: code review 3378041: template: change the signature of formatters for future... (Closed)

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

Description

template: change the signature of formatters for future development. Make them more like Printf, with a ... final argument. This breaks code with existing formatters but not the templates that use them.

Patch Set 1 #

Patch Set 2 : code review 3378041: template: change the signature of formatters for future... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -44 lines) Patch
M src/cmd/godoc/godoc.go View 7 chunks +25 lines, -25 lines 0 comments Download
M src/cmd/godoc/main.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/template/format.go View 2 chunks +14 lines, -8 lines 0 comments Download
M src/pkg/template/template.go View 3 chunks +7 lines, -6 lines 0 comments Download
M src/pkg/template/template_test.go View 2 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 4
r
Hello rsc, gri (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 3 months ago (2010-12-01 20:55:41 UTC) #1
gri
LGTM - gri On Wed, Dec 1, 2010 at 12:55 PM, <r@golang.org> wrote: > Reviewers: ...
14 years, 3 months ago (2010-12-01 21:29:18 UTC) #2
rsc1
LGTM
14 years, 3 months ago (2010-12-01 21:32:10 UTC) #3
r
14 years, 3 months ago (2010-12-01 21:33:53 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=2c2be793120e ***

template: change the signature of formatters for future development.
Make them more like Printf, with a ... final argument.  This breaks
code with existing formatters but not the templates that use them.

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

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