scalers

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalDateTime

func MarshalDateTime(t time.Time) graphql.Marshaler

func MarshalDuration

func MarshalDuration(d time.Duration) graphql.Marshaler

func MarshalId

func MarshalId(id uuid.UUID) graphql.Marshaler

func MarshalInt64

func MarshalInt64(i int64) graphql.Marshaler

func MarshalJSON

func MarshalJSON(b JSON) graphql.Marshaler

func MarshalUrl

func MarshalUrl(u url.URL) graphql.Marshaler

func UnmarshalDateTime

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

func UnmarshalDuration

func UnmarshalDuration(v interface{}) (time.Duration, error)

func UnmarshalId

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

func UnmarshalInt64

func UnmarshalInt64(v interface{}) (int64, error)

func UnmarshalUrl

func UnmarshalUrl(v interface{}) (url.URL, error)

Types

type JSON

type JSON map[string]interface{}

func UnmarshalJSON

func UnmarshalJSON(v interface{}) (JSON, error)

Jump to

Keyboard shortcuts

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