gobyexample/027-interfaces/interfaces.go
Mark McGranaghan c19a29193e more index work
2012-09-23 14:38:39 -07:00

10 lines
90 B
Go

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