slideshow-api/main.go
2023-11-28 15:52:53 +01:00

19 lines
454 B
Go

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