diff options
author | Emile <hanemile@protonmail.com> | 2019-03-07 16:30:19 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-03-07 16:30:19 +0100 |
commit | d03f2ad27f2dd12bc2082e44ced4eba22b3b6401 (patch) | |
tree | f931bd2eb57e55877e1ec43d27d3dde63b7c2e1c | |
parent | c76c398a040ef1ee41406b7ab7cafe57a5b2dfc0 (diff) |
updated the comments on the exported functions according to the golint standard
-rw-r--r-- | backend/insert.go | 4 |
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 |