cc-backend/graph/resolver.go
2022-02-17 09:04:57 +01:00

16 lines
323 B
Go

package graph
import (
"github.com/ClusterCockpit/cc-backend/repository"
"github.com/jmoiron/sqlx"
)
// This file will not be regenerated automatically.
//
// It serves as dependency injection for your app, add any dependencies you require here.
type Resolver struct {
DB *sqlx.DB
Repo *repository.JobRepository
}