scalars

package
v0.0.0-...-dde2995 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalID

func MarshalID(id uint) graphql.Marshaler

Lets redefine the base ID type to use an id from gorm's default uint type

func UnmarshalID

func UnmarshalID(v interface{}) (uint, error)

And the same for the unmarshaler

Types

This section is empty.

Jump to

Keyboard shortcuts

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