I'm wondering If it is ok (or good Go code) if an interface method returns 
an other interface? Here an example:

type Querier interface {
 Query() string

type Decoder interface {
 DecodeAndValidate() Querier

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 

Reply via email to