Re: [go-nuts] godoc: display a full file example

2016-11-07 Thread mhhcbon
Thanks, a lot! Working now. On Monday, November 7, 2016 at 9:17:00 PM UTC+1, Jan Mercl wrote: > > > On Mon, Nov 7, 2016 at 9:08 PM wrote: > > > Can someone highlight my mistake ? > > "The entire test file is presented as the example when it contains a > single example

Re: [go-nuts] godoc: display a full file example

2016-11-07 Thread Jan Mercl
On Mon, Nov 7, 2016 at 9:08 PM wrote: > Can someone highlight my mistake ? "The entire test file is presented as the example when it contains a single example function, at least one other function, type, variable, or constant declaration, and no test or benchmark functions.

[go-nuts] godoc: display a full file example

2016-11-07 Thread mhhcbon
Hi, I m having some troubles to display a full file example in godoc, like sort package does here https://godoc.org/sort#example-Ints. In godoc my example displays only the content of the Example_* method, but I want to display the whole file.