GoWeb/internal/globals.go

16 lines
451 B
Go
Raw Permalink Normal View History

package app
import (
"GoWeb/config"
"database/sql"
"embed"
)
2024-07-02 02:19:48 +00:00
// Deps contains and supplies available configurations and connections
type Deps struct {
2023-04-04 19:37:23 +00:00
Config config.Configuration // Configuration file
Db *sql.DB // Database connection
Res *embed.FS // Resources from the embedded filesystem
ScheduledTasks Scheduled // Scheduled contains a struct of all scheduled functions
}