Beginner question

I want to use this  :

  func Open(name string) (*File, error)

I would like to us *File as return value.

File is declared as :

type File struct {
*file // os specific

I understand it.


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.

Thanyk you in advance


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