19 lines
454 B
Go
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)
|
|
}
|