mirror of
https://github.com/ray-x/navigator.lua
synced 2024-11-15 18:12:50 +00:00
13 lines
174 B
Go
13 lines
174 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func interfaceTest() {
|
|
r := rect{width: 3, height: 4}
|
|
c := circle{radius: 5}
|
|
measure(r)
|
|
measure(c)
|
|
d := circle{radius: 10}
|
|
fmt.Println(d)
|
|
}
|