Full project scaffold: multi-stage Dockerfile (ARM64/AMD64), AsciiDoc↔TipTap bridge, Setup Wizard, CodeMirror source editor, Git-backed storage layer, LDAP+JWT auth skeleton, Tailwind mobile-first layout, and VS Code build/push tasks targeting registry at 192.168.0.19:5000. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
633 B
Go
17 lines
633 B
Go
package graph
|
|
|
|
// Resolver is the root resolver — all query/mutation methods live here.
|
|
// Fields are populated by NewServer via dependency injection.
|
|
type Resolver struct {
|
|
cfg interface{} // *config.Config — placeholder until gqlgen generation
|
|
auth interface{} // *auth.Manager
|
|
storage interface{} // *storage.Store
|
|
git interface{} // *git.Repo
|
|
}
|
|
|
|
// TODO: Run `go generate ./...` after adding gqlgen to go.mod to generate
|
|
// the type-safe resolver stubs from schema.graphql.
|
|
//
|
|
// The generated code lands in graph/generated.go (gitignored for now).
|
|
// Implement each method on *Resolver once the stubs exist.
|