2020-07-05 01:02:57 +02:00
|
|
|
//go:generate sh ../scripts/genSchema.sh
|
2020-04-10 04:40:22 +02:00
|
|
|
//go:generate go run github.com/99designs/gqlgen
|
|
|
|
package graph
|
|
|
|
|
|
|
|
import (
|
|
|
|
"sync"
|
|
|
|
|
2020-08-07 03:50:35 +02:00
|
|
|
"github.com/jordanknott/taskcafe/internal/config"
|
|
|
|
"github.com/jordanknott/taskcafe/internal/db"
|
2020-04-10 04:40:22 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
type Resolver struct {
|
2020-07-16 01:20:08 +02:00
|
|
|
Config config.AppConfig
|
2020-07-05 01:02:57 +02:00
|
|
|
Repository db.Repository
|
2020-04-10 04:40:22 +02:00
|
|
|
mu sync.Mutex
|
|
|
|
}
|