cc-backend/graph/resolver.go

16 lines
323 B
Go
Raw Normal View History

package graph
import (
2022-02-17 09:04:57 +01:00
"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.
2021-05-03 10:23:47 +02:00
type Resolver struct {
2022-02-17 09:04:57 +01:00
DB *sqlx.DB
Repo *repository.JobRepository
2021-05-21 09:30:15 +02:00
}