Documentation
¶
Index ¶
- Variables
- type NullDate
- func (*NullDate) Descriptor() ([]byte, []int)deprecated
- func (x *NullDate) GetDate() string
- func (x *NullDate) GetIsNotNull() bool
- func (dt *NullDate) ImplementsGraphQLType(name string) bool
- func (dt *NullDate) IsNull() bool
- func (dt NullDate) MarshalJSON() ([]byte, error)
- func (*NullDate) ProtoMessage()
- func (x *NullDate) ProtoReflect() protoreflect.Message
- func (x *NullDate) Reset()
- func (dt *NullDate) Scan(value interface{}) error
- func (dt *NullDate) Set(value string)
- func (dt *NullDate) SetNull()
- func (x *NullDate) String() string
- func (dt *NullDate) Time() time.Time
- func (dt *NullDate) UnmarshalGraphQL(input interface{}) error
- func (dt *NullDate) UnmarshalJSON(input []byte) error
- func (dt *NullDate) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_nulldate_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type NullDate ¶
type NullDate struct { Date string `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"` // is set to true if the date is null IsNotNull bool `protobuf:"varint,2,opt,name=is_not_null,json=isNotNull,proto3" json:"is_not_null,omitempty"` // contains filtered or unexported fields }
NullDate ...
func (*NullDate) Descriptor
deprecated
func (*NullDate) GetIsNotNull ¶
func (*NullDate) ImplementsGraphQLType ¶
ImplementsGraphQLType is required by the graphql custom scalar interface this defines the name used in the schema to declare a null time type
func (NullDate) MarshalJSON ¶
MarshalJSON will return the content as json value, this is also called by graphql to generate the response
func (*NullDate) ProtoMessage ¶
func (*NullDate) ProtoMessage()
func (*NullDate) ProtoReflect ¶
func (x *NullDate) ProtoReflect() protoreflect.Message
func (*NullDate) UnmarshalGraphQL ¶
UnmarshalGraphQL is required by the graphql custom scalar interface this wraps the null date
func (*NullDate) UnmarshalJSON ¶
UnmarshalJSON is used to convert the json representation into a null date
Click to show internal directories.
Click to hide internal directories.