package day10 import ( "fmt" ) func (p *Point) DebugPrintPoint() { fmt.Printf("p=<%d, %d>, v=<%d, %d>\n", p.X, p.Y, p.Xv, p.Yv) } func DebugPrintPoints(points []*Point) { for _, point := range points { point.DebugPrintPoint() } }