From 14ac5133afdab7704cfc64e8eb0c699949a47aa4 Mon Sep 17 00:00:00 2001 From: Emile Date: Thu, 7 Mar 2019 16:17:33 +0100 Subject: update the comments making them golint compatible --- backend/update.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend') 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 -- cgit 1.4.1