scalars

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalDate

func MarshalDate(d time.Time) graphql.Marshaler

func MarshalNullBool

func MarshalNullBool(v sql.NullBool) graphql.Marshaler

MarshalNullBool is a custom marshaller.

func MarshalNullDate

func MarshalNullDate(d sql.NullTime) graphql.Marshaler

func MarshalNullInt

func MarshalNullInt(ns sql.NullInt32) graphql.Marshaler

MarshalNullInt is a custom marshaller.

func MarshalNullString

func MarshalNullString(ns sql.NullString) graphql.Marshaler

MarshalNullString is a custom marshaller.

func MarshalNullTime

func MarshalNullTime(ns sql.NullTime) graphql.Marshaler

MarshalNullTime is a custom marshaller.

func MarshalNullUUID

func MarshalNullUUID(id uuid.NullUUID) graphql.Marshaler

func MarshalUUID

func MarshalUUID(id uuid.UUID) graphql.Marshaler

func UnmarshalDate

func UnmarshalDate(v interface{}) (time.Time, error)

func UnmarshalNullBool

func UnmarshalNullBool(v interface{}) (sql.NullBool, error)

UnmarshalNullBool is a custom unmarshaller.

func UnmarshalNullDate

func UnmarshalNullDate(v interface{}) (sql.NullTime, error)

func UnmarshalNullInt

func UnmarshalNullInt(v interface{}) (sql.NullInt32, error)

UnmarshalNullInt is a custom unmarshaller.

func UnmarshalNullString

func UnmarshalNullString(v interface{}) (sql.NullString, error)

UnmarshalNullString is a custom unmarshaller.

func UnmarshalNullTime

func UnmarshalNullTime(v interface{}) (sql.NullTime, error)

UnmarshalNullTime is a custom unmarshaller.

func UnmarshalNullUUID

func UnmarshalNullUUID(v interface{}) (uuid.NullUUID, error)

func UnmarshalUUID

func UnmarshalUUID(v interface{}) (uuid.UUID, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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