20 lines
356 B
Go
20 lines
356 B
Go
package application
|
|
|
|
import (
|
|
"database/sql"
|
|
|
|
"github.com/gorilla/mux"
|
|
"github.com/jobs-scraper/internal/ports"
|
|
"github.com/jobs-scraper/internal/server"
|
|
)
|
|
|
|
type Application struct {
|
|
Router *mux.Router
|
|
DB *sql.DB
|
|
Server *server.AppServer
|
|
JobCommands *JobCommands
|
|
}
|
|
|
|
type JobCommands struct {
|
|
CreateJob ports.JobCommandHandler
|
|
}
|