taskcafe/internal/graph/resolver.go
Jordan Knott c2ef8a7d56 feat: replace config system with viper based system
allows for config settings to be easily set through ENV variables,
config files, or CLI flags

adds flag to run migration on web server start (fixes #29)
2020-08-12 22:30:53 -05:00

15 lines
247 B
Go

//go:generate sh ../scripts/genSchema.sh
//go:generate go run github.com/99designs/gqlgen
package graph
import (
"sync"
"github.com/jordanknott/taskcafe/internal/db"
)
type Resolver struct {
Repository db.Repository
mu sync.Mutex
}