From d03f2ad27f2dd12bc2082e44ced4eba22b3b6401 Mon Sep 17 00:00:00 2001 From: Emile Date: Thu, 7 Mar 2019 16:30:19 +0100 Subject: updated the comments on the exported functions according to the golint standard --- backend/insert.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend/insert.go') diff --git a/backend/insert.go b/backend/insert.go index ab527a5..823fa0b 100644 --- a/backend/insert.go +++ b/backend/insert.go @@ -13,7 +13,7 @@ import ( "time" ) -// insertStar inserts the given star into the stars table and the nodes table tree +// InsertStar inserts the given star into the stars table and the nodes table tree func InsertStar(database *sql.DB, star structs.Star2D, index int64) int64 { db = database start := time.Now() @@ -168,7 +168,7 @@ func directInsert(starID int64, nodeID int64) { } } -// insertList inserts all the stars in the given .csv into the stars and nodes table +// InsertList inserts all the stars in the given .csv into the stars and nodes table func InsertList(database *sql.DB, filename string) { db = database // open the file -- cgit 1.4.1