add settings yaml
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"time"
|
||||
"vctp/db"
|
||||
"vctp/db/queries"
|
||||
"vctp/internal/settings"
|
||||
"vctp/internal/vcenter"
|
||||
|
||||
"github.com/vmware/govmomi/vim25/types"
|
||||
@@ -16,6 +17,7 @@ import (
|
||||
type CronTask struct {
|
||||
Logger *slog.Logger
|
||||
Database db.Database
|
||||
Settings settings.SettingsYML
|
||||
}
|
||||
|
||||
// use gocron to check events in the Events table
|
||||
|
Reference in New Issue
Block a user