Mastering-Go-Second-Edition/ch07/myInterface.go
2019-01-10 22:09:57 +02:00

6 lines
83 B
Go

package myInterface
type Shape interface {
Area() float64
Perimeter() float64
}