From c76c398a040ef1ee41406b7ab7cafe57a5b2dfc0 Mon Sep 17 00:00:00 2001 From: Emile Date: Thu, 7 Mar 2019 16:28:58 +0100 Subject: added comments to the exported functions --- backend/init.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backend/init.go') diff --git a/backend/init.go b/backend/init.go index 0e8303e..cae0e99 100644 --- a/backend/init.go +++ b/backend/init.go @@ -5,6 +5,7 @@ import ( "log" ) +// InitStarsTable initialises the stars table func InitStarsTable(db *sql.DB) { query := `CREATE TABLE public.stars ( @@ -22,6 +23,7 @@ func InitStarsTable(db *sql.DB) { } } +// InitNodesTable initialises the nodes table func InitNodesTable(db *sql.DB) { query := `CREATE TABLE public.nodes ( -- cgit 1.4.1