From b3ab5022d241bb227a089b015dab61e863a68512 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 17 Feb 2019 00:24:17 +0100 Subject: exported the get star function --- db_actions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_actions.go b/db_actions.go index 3fffd38..1adc749 100644 --- a/db_actions.go +++ b/db_actions.go @@ -499,7 +499,7 @@ func getQuadrantNodeID(parentNodeID int64, quadrant int64) int64 { } // getStar returns the star with the given ID from the stars table -func getStar(starID int64) structs.Star2D { +func GetStar(starID int64) structs.Star2D { var x, y, vx, vy, m float64 // get the star from the stars table -- cgit 1.4.1