diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/main.go b/main.go deleted file mode 100644 index 5f86d3d..0000000 --- a/main.go +++ /dev/null @@ -1,22 +0,0 @@ -package main - -import ( - "log" - "os" - "path/filepath" - "text/template" -) - -var config RuntimeConfig -var templates *template.Template - -func main() { - log.Printf("Started Ceres recipe server.\n") - config = GetRuntimeConfig() - err := os.Mkdir(filepath.Join(config.Data, "recipes"), 0750) - if err != nil && !os.IsExist(err) { - log.Fatal(err) - } - templates = setupTemplates() - runServer() -} |