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

Issue 5657048: code review 5657048: go/doc, godoc: regard lone examples as "whole file" examples (Closed)

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

Description

go/doc, godoc: regard lone examples as "whole file" examples Fixes issue 2930.

Patch Set 1 #

Total comments: 8

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

Patch Set 3 : diff -r 87f6bed89246 https://go.googlecode.com/hg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -9 lines) Patch
M src/cmd/go/test.go View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/cmd/godoc/godoc.go View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M src/pkg/go/doc/example.go View 1 2 chunks +26 lines, -6 lines 0 comments Download
M src/pkg/testing/testing.go View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8
adg
Hello r, gri (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg
13 years, 4 months ago (2012-02-14 00:43:35 UTC) #1
rsc
I can't tell what this is doing. Documentation?
13 years, 4 months ago (2012-02-14 00:46:57 UTC) #2
gri
LGTM Some suggestions for variable renaming. http://codereview.appspot.com/5657048/diff/1/src/pkg/go/doc/example.go File src/pkg/go/doc/example.go (right): http://codereview.appspot.com/5657048/diff/1/src/pkg/go/doc/example.go#newcode24 src/pkg/go/doc/example.go:24: var ex []*Example ...
13 years, 4 months ago (2012-02-14 00:57:11 UTC) #3
gri
On Mon, Feb 13, 2012 at 4:46 PM, Russ Cox <rsc@golang.org> wrote: > I can't ...
13 years, 4 months ago (2012-02-14 00:58:45 UTC) #4
rsc
Even so, godoc testing should say this.
13 years, 4 months ago (2012-02-14 01:07:58 UTC) #5
adg
On 2012/02/14 01:07:58, rsc wrote: > Even so, godoc testing should say this. Done, and ...
13 years, 4 months ago (2012-02-14 01:51:31 UTC) #6
r
LGTM from a commentary perspective.
13 years, 4 months ago (2012-02-14 05:20:52 UTC) #7
adg
13 years, 4 months ago (2012-02-14 06:20:06 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=561bc290532c ***

go/doc, godoc: regard lone examples as "whole file" examples

Fixes issue 2930.

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

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