Contact: aviboots(AT)netvision.net.il
39,855 questions
51,776 answers
573 users
package main import "fmt" type IN interface { F() } type ST struct { str string } func (s ST) F() { fmt.Println(s.str) } func main() { var in IN = ST{"Go"} in.F() } /* run: Go */