usecase

package
v0.0.0-...-33928b8 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapSlices

func MapSlices[S, T any](xs []S, mapper func(x S) T) []T

func MapTaskSQLC2GQL

func MapTaskSQLC2GQL(t sqlc.TaskLog) *model.Task

Types

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

func NewResolver

func NewResolver() *Resolver

func (*Resolver) Mutation

func (r *Resolver) Mutation() graph.MutationResolver

Mutation returns graph.MutationResolver implementation.

func (*Resolver) Query

func (r *Resolver) Query() graph.QueryResolver

Query returns graph.QueryResolver implementation.

func (*Resolver) Task

func (r *Resolver) Task() graph.TaskResolver

Task returns graph.TaskResolver implementation.

Jump to

Keyboard shortcuts

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