mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-01-24 05:28:36 -06:00
24 lines
458 B
Go
24 lines
458 B
Go
package executions
|
|
|
|
import (
|
|
"github.com/eduardolat/pgbackweb/internal/config"
|
|
"github.com/eduardolat/pgbackweb/internal/database/dbgen"
|
|
"github.com/eduardolat/pgbackweb/internal/integration"
|
|
)
|
|
|
|
type Service struct {
|
|
env *config.Env
|
|
dbgen *dbgen.Queries
|
|
ints *integration.Integration
|
|
}
|
|
|
|
func New(
|
|
env *config.Env, dbgen *dbgen.Queries, ints *integration.Integration,
|
|
) *Service {
|
|
return &Service{
|
|
env: env,
|
|
dbgen: dbgen,
|
|
ints: ints,
|
|
}
|
|
}
|