I found the explanation "All types implement the empty interface". https://golang.org/ref/spec#Interface_types So an empty interface also implements an empty interface? and again the empty interface implements an empty interface and the empty inter....... What I imagine is like this below. : : : empty interface | empty interface | empty interface | | | int float64 bool
In java, Object class is the top. Object | Creture | | Animal Human | | Dog Cat -- 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.