mirror of
https://git.macaw.me/skunky/SkunkyArt.git
synced 2025-04-01 20:17:35 +03:00
28 lines
372 B
Go
28 lines
372 B
Go
package main
|
|
|
|
import (
|
|
"skunkyart/app"
|
|
"time"
|
|
|
|
"git.macaw.me/skunky/devianter"
|
|
)
|
|
|
|
func main() {
|
|
go app.RefreshInstances()
|
|
|
|
app.ExecuteCommandLineArguments()
|
|
app.ExecuteConfig()
|
|
app.CopyTemplatesToMemory()
|
|
|
|
go func() {
|
|
for {
|
|
err := devianter.UpdateCSRF()
|
|
if err != nil {
|
|
println(err.Error())
|
|
}
|
|
time.Sleep(12 * time.Hour)
|
|
}
|
|
}()
|
|
|
|
app.Router()
|
|
}
|