Files
deep_go/lessons/interfaces/empty_interface/main.go

19 lines
206 B
Go
Raw Normal View History

package main
type Nothing interface{}
func main() {
var nothing Nothing
var empty interface{}
var any any
nothing = empty
nothing = any
empty = nothing
empty = any
any = nothing
any = empty
}