graphql

package
v1.31.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphQL

type GraphQL interface {
	Query(query string, variables map[string]any, response any) error
}

func NewGraphQL

func NewGraphQL(token string) GraphQL

type GraphQLMock

type GraphQLMock struct {
	mock.Mock
}

func NewGraphQLMock

func NewGraphQLMock[T any](response T) *GraphQLMock

func (*GraphQLMock) Query

func (m *GraphQLMock) Query(query string, variables map[string]any, response any) error

type VariableValue

type VariableValue interface {
	~int | ~string | ~[]string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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