> How can i get a list about which interface is implemented by this struct > methods? (Because in Go there is no explicit interface declaration.) > > for example : io.Closer etc. >
Every struct that has all the methods exactly as that interface defines - for io.Closer, a "Close() error" is enough. But, here is a compilation: http://sweetohm.net/article/go-interfaces.en.html -- 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.