slideshow-api/main.go

20 lines
466 B
Go
Raw Normal View History

2023-11-28 15:52:53 +01:00
package main
import (
"time"
"git.velvettear.de/velvettear/loggo"
2023-11-28 16:34:10 +01:00
"git.velvettear.de/velvettear/slideshow-api/internal"
"git.velvettear.de/velvettear/slideshow-api/internal/api"
"git.velvettear.de/velvettear/slideshow-api/internal/config"
2023-11-28 15:52:53 +01:00
)
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)
}