diff options
author | Emile <hanemile@protonmail.com> | 2019-03-07 16:17:33 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-03-07 16:17:33 +0100 |
commit | 14ac5133afdab7704cfc64e8eb0c699949a47aa4 (patch) | |
tree | 3cc6176d9e169ccd9180d9e4676ad73e5f4bfbfe /backend | |
parent | c8ca77ad65e9c0b31c6bd5289de0c1d332c06e63 (diff) |
update the comments making them golint compatible
Diffstat (limited to 'backend')
-rw-r--r-- | backend/update.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/update.go b/backend/update.go index d51b115..9e78b84 100644 --- a/backend/update.go +++ b/backend/update.go @@ -7,7 +7,7 @@ import ( "log" ) -// updateTotalMass gets a tree index and returns the nodeID of the trees root node +// UpdateTotalMass gets a tree index and returns the nodeID of the trees root node func UpdateTotalMass(database *sql.DB, index int64) { db = database rootNodeID := getRootNodeID(index) @@ -62,7 +62,7 @@ func updateTotalMassNode(nodeID int64) float64 { return totalmass } -// updateCenterOfMass recursively updates the center of mass of all the nodes starting at the node with the given +// UpdateCenterOfMass recursively updates the center of mass of all the nodes starting at the node with the given // root index func UpdateCenterOfMass(database *sql.DB, index int64) { db = database |