slideshow/main.go
2023-11-24 16:52:11 +01:00

19 lines
464 B
Go

package main
import (
"time"
"git.velvettear.de/velvettear/loggo"
"git.velvettear.de/velvettear/slideshow/internal/config"
"git.velvettear.de/velvettear/slideshow/internal/slideshow"
"git.velvettear.de/velvettear/slideshow/scanner"
)
func main() {
timestamp := time.Now().UnixMilli()
loggo.Info("slideshow is starting now...")
config.Initialize()
scanner.Initialize()
slideshow.Start()
loggo.InfoTimed("slideshow is shutting down now!", timestamp)
}