[go-nuts] Re: interface question

2018-03-02 Thread Tamás Gulácsi
Sorry, that only lists the defined interfaces. As there's no explicit interface "implements" declaration, it is only checked at compile time. For example, guru (https://docs.google.com/document/d/1_Y9xCEMj5S-7rv2ooHpZNH15JgRT5iM742gJkw5LtmQ/view#heading=h.f6hyappclfor) can help. -- You rece

[go-nuts] Re: interface question

2018-03-02 Thread Tamás Gulácsi
> 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 en