From 1ecde651aec890c30bcbc3db79ce202fc323266e Mon Sep 17 00:00:00 2001 From: hanemile Date: Sat, 3 Nov 2018 17:51:37 +0100 Subject: moved the ExampleNewCoord function to the test file. --- structs.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index 0fcdc14..8689c7a 100644 --- a/structs.go +++ b/structs.go @@ -19,11 +19,6 @@ func NewCoord(x float64, y float64) Coord { return Coord{x, y} } -func ExampleNewCoord() { - fmt.Println(NewCoord(1, 1)) - // Output: {1, 1} -} - // NewBoundingBox returns a new bounding with the given struct elements func NewBoundingBox(inCenter Coord, inHalfDimension float64) BoundingBox { return BoundingBox{ -- cgit 1.4.1