Hi all

I found the problem, but i'm not sure if it's a bug or not. If i move the 
type and function declarations to a different file, it works as it should.
But as described here: https://blog.golang.org/examples 
<https://blog.golang.org/examples#TOC_5.> it should be possible to use own 
types in the examples.

By the way i'm using go 1.9 on macOS, maybe someone can test if this 
behavior is the same for 1.8.3.
Also i wondering if godoc.org is on version 1.9 or does it use an older 
version?

Cheers

Am Montag, 25. September 2017 10:54:57 UTC+2 schrieb 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.

Reply via email to