model

package
v0.0.0-...-a5768bf Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalAnyTypeValue

func MarshalAnyTypeValue(atv AnyTypeValue) graphql.Marshaler

Types

type AnyTypeValue

type AnyTypeValue struct {
	Str   *string
	Int   *int64
	Time  *time.Time
	Bool  *bool
	Float *float64
}

func UnmarshalAnyTypeValue

func UnmarshalAnyTypeValue(input any) (AnyTypeValue, error)

func (*AnyTypeValue) BoolToStr

func (a *AnyTypeValue) BoolToStr()

func (*AnyTypeValue) FloatToInt

func (a *AnyTypeValue) FloatToInt()

func (*AnyTypeValue) FloatToStr

func (a *AnyTypeValue) FloatToStr()

func (*AnyTypeValue) IntToBool

func (a *AnyTypeValue) IntToBool()

func (*AnyTypeValue) IntToFloat

func (a *AnyTypeValue) IntToFloat()

func (*AnyTypeValue) IntToStr

func (a *AnyTypeValue) IntToStr()

func (*AnyTypeValue) RealValue

func (a *AnyTypeValue) RealValue() any

func (*AnyTypeValue) StrToBool

func (a *AnyTypeValue) StrToBool()

func (*AnyTypeValue) StrToFloat

func (a *AnyTypeValue) StrToFloat()

func (*AnyTypeValue) StrToInt

func (a *AnyTypeValue) StrToInt()

func (*AnyTypeValue) StrToTime

func (a *AnyTypeValue) StrToTime()

func (*AnyTypeValue) TimeToStr

func (a *AnyTypeValue) TimeToStr()

Jump to

Keyboard shortcuts

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