utils

package
v0.0.0-...-cf53b06 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateArguments

func CreateArguments(s interface{}, tags ...string) graphql.FieldConfigArgument

func CreateDeleteResolve

func CreateDeleteResolve(s interface{}, deleteFunc func(s interface{}, id int)) func(params graphql.ResolveParams) (interface{}, error)

func CreateGetResolve

func CreateGetResolve(s interface{}, getFunc func(dest interface{}, id int)) func(params graphql.ResolveParams) (interface{}, error)

func CreateListResolve

func CreateListResolve(s interface{}, listFunc func(interface{}, ...interface{})) func(p graphql.ResolveParams) (interface{}, error)

func CreateObject

func CreateObject(name string, s interface{}) *graphql.Object

func CreateParamListResolve

func CreateParamListResolve(s interface{}, listFunc func(interface{}, ...interface{}), args ...string) func(p graphql.ResolveParams) (interface{}, error)

func CreateSaveResolve

func CreateSaveResolve(s interface{}, saveFunc func(p interface{})) func(params graphql.ResolveParams) (interface{}, error)

func Parse

func Parse(sql string, param map[string]interface{}) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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