GoWeb/app/app.go

15 lines
330 B
Go
Raw Permalink Normal View History

package app
import (
"GoWeb/config"
"database/sql"
"embed"
)
// App contains and supplies available configurations and connections
type App struct {
Config config.Configuration // Configuration file
Db *sql.DB // Database connection
Res *embed.FS // Resources from the embedded filesystem
}