gilo/internal/gilo/point.go
Timothy J. Warren 787166df3a
All checks were successful
timw4mail/gilo/pipeline/head This commit looks good
Move stuff again, just because
2021-04-02 15:36:43 -04:00

15 lines
160 B
Go

package gilo
type Point struct {
X int
Y int
}
func DefaultPoint() *Point {
return &Point{0, 0}
}
func NewPoint(x, y int) *Point {
return &Point{x, y}
}