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

Issue 5432079: code review 5432079: text/template: rename the method Template.Template to T... (Closed)

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

Description

text/template: rename the method Template.Template to Template.Lookup Calling it Template makes it clumsy to embed the type, which html/template depends on.

Patch Set 1 #

Patch Set 2 : diff -r 503e62ea3467 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M src/pkg/text/template/exec_test.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/text/template/template.go View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 3 months ago (2011-11-25 18:42:15 UTC) #1
gri
LGTM - gri On Fri, Nov 25, 2011 at 10:42 AM, <r@golang.org> wrote: > Reviewers: ...
13 years, 3 months ago (2011-11-25 20:28:40 UTC) #2
r
13 years, 3 months ago (2011-11-26 16:33:02 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=23f64ced6a85 ***

text/template: rename the method Template.Template to Template.Lookup
Calling it Template makes it clumsy to embed the type, which html/template
depends on.

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

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