graph

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: CC0-1.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillUpTopicArray added in v1.7.0

func FillUpTopicArray(topics []string) []string

FillUpTopicArray - Creates a topic signature array of length 4, while putting all elements passed from graphQL query & appending empty strings, in remaining places

func GetDatabaseConnection

func GetDatabaseConnection(conn *gorm.DB)

GetDatabaseConnection - Passing already connected database handle to this package, so that it can be used for handling database queries for resolving graphQL queries

Types

type Resolver

type Resolver struct{}

func (*Resolver) Query

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

Query returns generated.QueryResolver implementation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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