diff options
| author | Horus3 | 2015-02-21 18:37:28 +0100 |
|---|---|---|
| committer | Horus3 | 2015-02-21 18:37:28 +0100 |
| commit | bdb2d33a30765a25be3dd8c82b92517efa00dda8 (patch) | |
| tree | 7332415c103980a6d4e87ca6b8f563a9f6a87496 /app/main.go | |
| parent | b58e21a525e7e4aeda3ec51bfcb07390af8be465 (diff) | |
| download | statuspage-bdb2d33a30765a25be3dd8c82b92517efa00dda8.tar.gz | |
Add basic unit tests.
Diffstat (limited to 'app/main.go')
| -rw-r--r-- | app/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
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() |
