FAQ
*** Submitted as
http://code.google.com/p/go/source/detail?r=b09f4985724f ***

go/doc: strip example output comment from synthesized main function

R=gri
CC=gobot, golang-dev
http://codereview.appspot.com/6524047



http://codereview.appspot.com/6524047/diff/3001/src/pkg/go/doc/example.go
File src/pkg/go/doc/example.go (right):

http://codereview.appspot.com/6524047/diff/3001/src/pkg/go/doc/example.go#newcode97
src/pkg/go/doc/example.go:97: return
strings.TrimSpace(last.Text()[loc[1]:])
On 2012/09/28 18:03:38, gri wrote:
Why is text here not ok? it there's a reason, it needs a comment.
This was an accident of some experimentation I did.

http://codereview.appspot.com/6524047/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 1, '12 at 10:42p
activeOct 1, '12 at 10:42p
posts1
users1
websitegolang.org

1 user in discussion

Adg: 1 post

People

Translate

site design / logo © 2022 Grokbase