6 lines
83 B
Go
6 lines
83 B
Go
package myInterface
|
|
|
|
type Shape interface {
|
|
Area() float64
|
|
Perimeter() float64
|
|
}
|