From 7c7c2d04d485d0ed49b39ac7624e591772fd3eda Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Fri, 4 Aug 2023 23:05:16 +0200 Subject: [PATCH] Removed useless print statements --- io/reader/text.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/io/reader/text.go b/io/reader/text.go index 042ba1d..d7a23c0 100644 --- a/io/reader/text.go +++ b/io/reader/text.go @@ -82,7 +82,6 @@ func (r *TextReader) Read(filename string) (*maze.Maze, error) { for x, rune := range line { char := byte(rune) if char == r.PathChar { - fmt.Printf("last line number: %v\n", y) coords := maze.Coordinates{X: x, Y: y} node := maze.NewNode(coords) r.lookupNeighbourAbove(&lines, node, &nodesByCoord) @@ -117,7 +116,6 @@ func (r *TextReader) lookupNeighbourLeft(line *string, node *maze.Node, nodesByC neighbour, ok := (*nodesByCoord)[maze.Coordinates{X: x, Y: node.Coords.Y}] if ok { node.Left = neighbour - fmt.Printf("Setting left of %v to %v\n", node.Coords, neighbour.Coords) neighbour.Right = node break }