Re: [go-nuts] Example output not visible in godoc

2017-09-25 Thread snmed
Thank you for your answer, but nope doesn't make any difference, at least 
not with local godoc instance.

Am Montag, 25. September 2017 11:03:55 UTC+2 schrieb Jan Mercl:
>
> On Mon, Sep 25, 2017 at 10:55 AM snmed  
> wrote:
>
> > Has anyone an idea why it is no working correct?
>
> Blind shot: Try removing the final empty line: 
> https://bitbucket.org/snmed/sting/src/85748cacc8970f60582428bf05d52fcfb051ba5f/example_inject_test.go?at=master=file-view-default#example_inject_test.go-87
>
> -- 
>
> -j
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Example output not visible in godoc

2017-09-25 Thread Jan Mercl
On Mon, Sep 25, 2017 at 10:55 AM snmed  wrote:

> Has anyone an idea why it is no working correct?

Blind shot: Try removing the final empty line:
https://bitbucket.org/snmed/sting/src/85748cacc8970f60582428bf05d52fcfb051ba5f/example_inject_test.go?at=master=file-view-default#example_inject_test.go-87

-- 

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Example output not visible in godoc

2017-09-25 Thread snmed
Hi all

I have some problem with my go examples, in some case the output is correct 
rendered in a code block, but for other examples it is not rendered in a 
separat code block.

Here the link to the documentation of my package: 
https://godoc.org/bitbucket.org/snmed/sting

For example GetService the output is rendered correct.
For example Inject it is not rendered correct.

Has anyone an idea why it is no working correct?

Thank you in advance
Sandro

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.