16 lines
451 B
Go
16 lines
451 B
Go
package app
|
|
|
|
import (
|
|
"GoWeb/config"
|
|
"database/sql"
|
|
"embed"
|
|
)
|
|
|
|
// Deps contains and supplies available configurations and connections
|
|
type Deps struct {
|
|
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
|
|
}
|