22 lines
347 B
Go
22 lines
347 B
Go
package main
|
|
|
|
import (
|
|
"git.trcreatives.com/triegebauer/go-dart"
|
|
)
|
|
|
|
func main() {
|
|
app := dart.New()
|
|
app.WithCloudFunctions()
|
|
|
|
cloudFunction := dart.CloudFunction{
|
|
Name: "Loading Osu Data",
|
|
Handler: func(ctx *dart.CloudContext) error {
|
|
return nil
|
|
},
|
|
}
|
|
|
|
app.ScheduleCloudFunction("* * * * * *", &cloudFunction)
|
|
|
|
app.Start(":8123")
|
|
}
|