about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-03-07 16:30:19 +0100
committerEmile <hanemile@protonmail.com>2019-03-07 16:30:19 +0100
commitd03f2ad27f2dd12bc2082e44ced4eba22b3b6401 (patch)
treef931bd2eb57e55877e1ec43d27d3dde63b7c2e1c
parentc76c398a040ef1ee41406b7ab7cafe57a5b2dfc0 (diff)
updated the comments on the exported functions according to the golint standard
-rw-r--r--backend/insert.go4
1 files changed, 2 insertions, 2 deletions
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