gobyexample/033-interfaces/interfaces.go
Mark McGranaghan 618dec4fae updates
2012-09-23 12:53:50 -07:00

10 lines
90 B
Go

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