slideshow-api/main.go

20 lines
454 B
Go
Raw Normal View History

2023-11-28 15:52:53 +01:00
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)
}