about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-02-17 00:24:17 +0100
committerEmile <hanemile@protonmail.com>2019-02-17 00:24:17 +0100
commitb3ab5022d241bb227a089b015dab61e863a68512 (patch)
treee1cba8ecb2c4f526c67b17656c8bca56f35bd191
parente8a594c750f0c88c3639e075ef443a70303543fb (diff)
exported the get star function
-rw-r--r--db_actions.go2
1 files changed, 1 insertions, 1 deletions
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