From 309d17b921f75b16298cfe88ada9ba89bf646ac5 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 5 Apr 2021 20:58:28 +0200 Subject: Added basic webui to show results --- cmd/trains-webui/main.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 cmd/trains-webui/main.go (limited to 'cmd/trains-webui') diff --git a/cmd/trains-webui/main.go b/cmd/trains-webui/main.go new file mode 100644 index 0000000..76f34ea --- /dev/null +++ b/cmd/trains-webui/main.go @@ -0,0 +1,16 @@ +package main + +import ( + "log" + + "git.adyxax.org/adyxax/trains/internal/webui" + "git.adyxax.org/adyxax/trains/pkg/config" +) + +func main() { + c, err := config.LoadFile("/home/julien/.config/adyxax-trains/config.yaml") + if err != nil { + log.Fatal(err) + } + webui.Run(c) +} -- cgit v1.2.3