diff options
author | xengineering <me@xengineering.eu> | 2024-05-07 21:35:40 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-05-07 21:35:40 +0200 |
commit | 5b3f0a81abea93b198825b5537297f3f04d1f7c1 (patch) | |
tree | 64dc1a768019f28cc7c63c86faa859e8f59092ae /main.go | |
parent | 75c1270c86ac17d056161714ac32a57113696d21 (diff) | |
download | ceres-5b3f0a81abea93b198825b5537297f3f04d1f7c1.tar ceres-5b3f0a81abea93b198825b5537297f3f04d1f7c1.tar.zst ceres-5b3f0a81abea93b198825b5537297f3f04d1f7c1.zip |
view: Use init() function to parse templates
This makes it unnecessary to call this functionality from main().
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -10,7 +10,6 @@ import ( "path/filepath" "xengineering.eu/ceres/model" - "xengineering.eu/ceres/view" ) func main() { @@ -39,8 +38,6 @@ func main() { model.InjectTestRecipes() - view.Init() - server := NewServer(config.HttpAddress) go server.Start() defer server.Stop() |