diff options
author | Julien Dessaux | 2021-04-05 20:58:28 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-04-05 20:58:28 +0200 |
commit | 309d17b921f75b16298cfe88ada9ba89bf646ac5 (patch) | |
tree | dd65823647fbb0769a851f34948af131b097fc60 /cmd/trains-webui | |
parent | Fixed scope of test helpers in navitia_api_client package (diff) | |
download | trains-309d17b921f75b16298cfe88ada9ba89bf646ac5.tar.gz trains-309d17b921f75b16298cfe88ada9ba89bf646ac5.tar.bz2 trains-309d17b921f75b16298cfe88ada9ba89bf646ac5.zip |
Added basic webui to show results
Diffstat (limited to '')
-rw-r--r-- | cmd/trains-webui/main.go | 16 |
1 files changed, 16 insertions, 0 deletions
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) +} |