aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/graphql/resolver/resolver.go
blob: dea85a083b7f521e1c79603c80ac1bf43fb45892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package resolver

import (
	"database/sql"

	"undef.ninja/x/feedaka/auth"
	"undef.ninja/x/feedaka/db"
)

// 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            *sql.DB
	Queries       *db.Queries
	SessionConfig *auth.SessionConfig
}