gobyexample/033-interfaces/033-interfaces.go
2012-09-23 12:11:48 -04:00

7 lines
71 B
Go

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