From bdb2d33a30765a25be3dd8c82b92517efa00dda8 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Sat, 21 Feb 2015 18:37:28 +0100 Subject: Add basic unit tests. --- app/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/main.go') diff --git a/app/main.go b/app/main.go index d51cf20..17d3157 100644 --- a/app/main.go +++ b/app/main.go @@ -16,8 +16,8 @@ var mainTempl = template.Must(template.New("global").ParseGlob("../views/*.html" var c = cron.New() func main() { - check() - run() + checkConfig() + jobRun() InitDB() insertHost() -- cgit v1.2.3