xgqlgen

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalGormDeletedAt added in v1.17.0

func MarshalGormDeletedAt(gd gorm.DeletedAt) graphql.Marshaler

MarshalGormDeletedAt marshal gorm.DeletedAt to string

func MarshalInt64ID

func MarshalInt64ID(i int64) graphql.Marshaler

MarshalInt64ID marshal int64 to string ID

func MarshalTimeRFC3339Nano added in v1.17.0

func MarshalTimeRFC3339Nano(tt time.Time) graphql.Marshaler

MarshalTimeRFC3339Nano marshal time.Time to string RFC3339Nano

func UnmarshalGormDeletedAt added in v1.17.0

func UnmarshalGormDeletedAt(v interface{}) (gorm.DeletedAt, error)

UnmarshalGormDeletedAt unmarshal v into gorm.DeletedAt

func UnmarshalInt64ID

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

UnmarshalInt64ID unmarshal ID into int64

func UnmarshalTimeRFC3339Nano added in v1.17.0

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

UnmarshalTimeRFC3339Nano unmarshal v into time.Time

Types

This section is empty.

Jump to

Keyboard shortcuts

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