1
0
mirror of https://github.com/MADTeacher/go_basics.git synced 2025-11-23 21:34:47 +02:00
Files
go_basics/part_3/3.7/golang/factory/shape/ishape.go
2025-06-04 18:38:52 +03:00

21 lines
281 B
Go

package shape
type IShape interface {
GetArea() float64
GetPerimeter() uint
MoveCenter(point Point)
GetCenter() Point
}
type IShapeArea interface {
GetArea() float64
}
type IShapePerimeter interface {
GetPerimeter() uint
}
type IShapeName interface {
GetName() string
}