19 lines
466 B
Go
19 lines
466 B
Go
package main
|
|
|
|
import (
|
|
"time"
|
|
|
|
"git.velvettear.de/velvettear/loggo"
|
|
"git.velvettear.de/velvettear/slideshow-api/internal"
|
|
"git.velvettear.de/velvettear/slideshow-api/internal/api"
|
|
"git.velvettear.de/velvettear/slideshow-api/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)
|
|
}
|