gobyexample/034-interfaces.go
2012-09-20 22:09:22 -07:00

7 lines
71 B
Go

package main
import "fmt"
type Shape interface {
area() float64
}