You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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)
|
|
}
|