generated

package
v0.0.0-...-b7b4bc5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecutableSchema

func NewExecutableSchema(cfg Config) graphql.ExecutableSchema

NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.

Types

type ComplexityRoot

type ComplexityRoot struct {
	Dates struct {
		From func(childComplexity int) int
		To   func(childComplexity int) int
	}

	FullProfile struct {
		Description  func(childComplexity int) int
		Email        func(childComplexity int) int
		Image        func(childComplexity int) int
		Jobs         func(childComplexity int) int
		Name         func(childComplexity int) int
		Projects     func(childComplexity int) int
		Resume       func(childComplexity int) int
		Technologies func(childComplexity int) int
	}

	Job struct {
		Company     func(childComplexity int) int
		Dates       func(childComplexity int) int
		Description func(childComplexity int) int
		Location    func(childComplexity int) int
		Position    func(childComplexity int) int
	}

	Project struct {
		Description  func(childComplexity int) int
		Name         func(childComplexity int) int
		Repository   func(childComplexity int) int
		Technologies func(childComplexity int) int
		Website      func(childComplexity int) int
	}

	Query struct {
		FullProfile func(childComplexity int, lang string) int
	}
}

type Config

type Config struct {
	Resolvers  ResolverRoot
	Directives DirectiveRoot
	Complexity ComplexityRoot
}

type DirectiveRoot

type DirectiveRoot struct {
}

type QueryResolver

type QueryResolver interface {
	FullProfile(ctx context.Context, lang string) (*models.FullProfile, error)
}

type ResolverRoot

type ResolverRoot interface {
	Query() QueryResolver
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL