graph

package
v0.0.0-...-c096a92 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillUpTopicArray

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