Documentation ¶
Overview ¶
Package nulldate is a generated protocol buffer package.
It is generated from these files:
nulldate.proto
It has these top-level messages:
NullDate
Index ¶
- type NullDate
- func (*NullDate) Descriptor() ([]byte, []int)
- func (m *NullDate) GetDate() string
- func (m *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 (m *NullDate) Reset()
- func (dt *NullDate) Scan(value interface{}) error
- func (dt *NullDate) Set(value string)
- func (dt *NullDate) SetNull()
- func (m *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 ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NullDate ¶
type NullDate struct { Date string `protobuf:"bytes,1,opt,name=date" json:"date,omitempty"` // is set to true if the date is null IsNotNull bool `protobuf:"varint,2,opt,name=is_not_null,json=isNotNull" json:"is_not_null,omitempty"` }
NullDate ...
func (*NullDate) Descriptor ¶
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) 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.