10 lines
117 B
Go
10 lines
117 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
type Shape interface {
|
|
area() float64
|
|
}
|
|
|
|
// todo: that great blog post on interfaces
|