custom_model

package
v0.7.85 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalDBSecureString

func MarshalDBSecureString(f DB.SecureString) graphql.Marshaler

func UnmarshalByte

func UnmarshalByte(v interface{}) ([]byte, error)

func UnmarshalDBSecureString

func UnmarshalDBSecureString(v interface{}) (DB.SecureString, error)

func UnmarshalDate

func UnmarshalDate(v interface{}) (DB.Date, error)

func UnmarshalFloat

func UnmarshalFloat(v interface{}) (float32, error)

func UnmarshalFloat32

func UnmarshalFloat32(v interface{}) (float32, error)

func UnmarshalFloat64

func UnmarshalFloat64(v interface{}) (float64, error)

func UnmarshalGormDeletedAt

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

func UnmarshalInt32

func UnmarshalInt32(v interface{}) (int32, error)

func UnmarshalInt64

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

Types

type Marshaler

type Marshaler interface {
	MarshalGQL(w io.Writer)
}

func MarshalByte

func MarshalByte(f []byte) Marshaler

func MarshalDate

func MarshalDate(f DB.Date) Marshaler

func MarshalFloat

func MarshalFloat(f float32) Marshaler

func MarshalFloat32

func MarshalFloat32(f float32) Marshaler

func MarshalFloat64

func MarshalFloat64(f float64) Marshaler

func MarshalGormDeletedAt

func MarshalGormDeletedAt(f gorm.DeletedAt) Marshaler

func MarshalInt32

func MarshalInt32(f int32) Marshaler

func MarshalInt64

func MarshalInt64(f int32) Marshaler

type WriterFunc

type WriterFunc func(writer io.Writer)

func (WriterFunc) MarshalGQL

func (f WriterFunc) MarshalGQL(w io.Writer)

Jump to

Keyboard shortcuts

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