From a1860696f2c27ef0745a104002a4eb5a9de5f485 Mon Sep 17 00:00:00 2001 From: hanemile Date: Sat, 3 Nov 2018 19:41:37 +0100 Subject: removed the types --- structs_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/structs_test.go b/structs_test.go index 4be947b..3abb47f 100644 --- a/structs_test.go +++ b/structs_test.go @@ -265,9 +265,9 @@ func ExampleNewBoundingBox() { // Using the InsideOf() method, it can be determined if a point is inside of a bounding box // or not. The Example below can be used as a reference: func ExampleInsideOf_Coord() { - var point Coord = NewCoord(0, 0) - var bounadry BoundingBox = NewBoundingBox(NewCoord(0, 0), 10) - var quadtreeCell *Quadtree = NewQuadtree(bounadry, 0) + var point = NewCoord(0, 0) + var bounadry = NewBoundingBox(NewCoord(0, 0), 10) + var quadtreeCell = NewQuadtree(bounadry, 0) fmt.Println(point.InsideOf(quadtreeCell)) // Output: true -- cgit 1.4.1