Hi, 

I have an exported struct in my code, which has an embedded interface. For 
public (exported) interfaces I can see the interface in the struct, but if 
the interface is not public, but has some exported method, you can not find 
any sign of these methods in the go documents, this is an example : 

https://github.com/fzerorubigd/demo-doc/blob/master/demo.go

and this is the doc: 

https://godoc.org/github.com/fzerorubigd/demo-doc

the `ExportedFunction` is callable from outside, but it is not visible in 
documents. 

I am sure the code is valid, (it might be better to change it, but 
sometimes it's the best option, and also I can not find any advice against 
it) but I am not sure if "no-document" is intended, and if it is, what is 
the reason? 


Best

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/cdf996e8-5279-4d8f-8c4d-31aba13eb56d%40googlegroups.com.

Reply via email to