Documentation
¶
Index ¶
- Variables
- type NullBool
- func (*NullBool) Descriptor() ([]byte, []int)deprecated
- func (x *NullBool) GetVal() bool
- func (x *NullBool) GetValid() bool
- func (*NullBool) ProtoMessage()
- func (x *NullBool) ProtoReflect() protoreflect.Message
- func (x *NullBool) Reset()
- func (n *NullBool) Scan(value interface{}) error
- func (x *NullBool) String() string
- func (n NullBool) Value() (driver.Value, error)
- type NullFloat32
- func (*NullFloat32) Descriptor() ([]byte, []int)deprecated
- func (x *NullFloat32) GetVal() float32
- func (x *NullFloat32) GetValid() bool
- func (*NullFloat32) ProtoMessage()
- func (x *NullFloat32) ProtoReflect() protoreflect.Message
- func (x *NullFloat32) Reset()
- func (n *NullFloat32) Scan(value interface{}) error
- func (x *NullFloat32) String() string
- func (n NullFloat32) Value() (driver.Value, error)
- type NullFloat64
- func (*NullFloat64) Descriptor() ([]byte, []int)deprecated
- func (x *NullFloat64) GetVal() float64
- func (x *NullFloat64) GetValid() bool
- func (*NullFloat64) ProtoMessage()
- func (x *NullFloat64) ProtoReflect() protoreflect.Message
- func (x *NullFloat64) Reset()
- func (n *NullFloat64) Scan(value interface{}) error
- func (x *NullFloat64) String() string
- func (n NullFloat64) Value() (driver.Value, error)
- type NullInt32
- func (*NullInt32) Descriptor() ([]byte, []int)deprecated
- func (x *NullInt32) GetVal() int32
- func (x *NullInt32) GetValid() bool
- func (*NullInt32) ProtoMessage()
- func (x *NullInt32) ProtoReflect() protoreflect.Message
- func (x *NullInt32) Reset()
- func (n *NullInt32) Scan(value interface{}) error
- func (x *NullInt32) String() string
- func (n NullInt32) Value() (driver.Value, error)
- type NullInt64
- func (*NullInt64) Descriptor() ([]byte, []int)deprecated
- func (x *NullInt64) GetVal() int64
- func (x *NullInt64) GetValid() bool
- func (*NullInt64) ProtoMessage()
- func (x *NullInt64) ProtoReflect() protoreflect.Message
- func (x *NullInt64) Reset()
- func (n *NullInt64) Scan(value interface{}) error
- func (x *NullInt64) String() string
- func (n NullInt64) Value() (driver.Value, error)
- type NullString
- func (*NullString) Descriptor() ([]byte, []int)deprecated
- func (x *NullString) GetVal() string
- func (x *NullString) GetValid() bool
- func (*NullString) ProtoMessage()
- func (x *NullString) ProtoReflect() protoreflect.Message
- func (x *NullString) Reset()
- func (n *NullString) Scan(value interface{}) error
- func (x *NullString) String() string
- func (n NullString) Value() (driver.Value, error)
- type NullTime
- func (*NullTime) Descriptor() ([]byte, []int)deprecated
- func (x *NullTime) GetVal() int64
- func (x *NullTime) GetValid() bool
- func (*NullTime) ProtoMessage()
- func (x *NullTime) ProtoReflect() protoreflect.Message
- func (x *NullTime) Reset()
- func (n *NullTime) Scan(value interface{}) error
- func (x *NullTime) String() string
- func (n NullTime) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_sql_nullbool_proto protoreflect.FileDescriptor
View Source
var File_proto_sql_nullfloat_proto protoreflect.FileDescriptor
View Source
var File_proto_sql_nullint_proto protoreflect.FileDescriptor
View Source
var File_proto_sql_nullstring_proto protoreflect.FileDescriptor
View Source
var File_proto_sql_nulltime_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type NullBool ¶
type NullBool struct { Val bool `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*NullBool) Descriptor
deprecated
func (*NullBool) ProtoMessage ¶
func (*NullBool) ProtoMessage()
func (*NullBool) ProtoReflect ¶
func (x *NullBool) ProtoReflect() protoreflect.Message
type NullFloat32 ¶
type NullFloat32 struct { Val float32 `protobuf:"fixed32,1,opt,name=val,proto3" json:"val,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*NullFloat32) Descriptor
deprecated
func (*NullFloat32) Descriptor() ([]byte, []int)
Deprecated: Use NullFloat32.ProtoReflect.Descriptor instead.
func (*NullFloat32) GetVal ¶
func (x *NullFloat32) GetVal() float32
func (*NullFloat32) GetValid ¶
func (x *NullFloat32) GetValid() bool
func (*NullFloat32) ProtoMessage ¶
func (*NullFloat32) ProtoMessage()
func (*NullFloat32) ProtoReflect ¶
func (x *NullFloat32) ProtoReflect() protoreflect.Message
func (*NullFloat32) Reset ¶
func (x *NullFloat32) Reset()
func (*NullFloat32) Scan ¶
func (n *NullFloat32) Scan(value interface{}) error
////////// NullFloat32 /////////////////////// Scan implements Scanner interface for database driver
func (*NullFloat32) String ¶
func (x *NullFloat32) String() string
type NullFloat64 ¶
type NullFloat64 struct { Val float64 `protobuf:"fixed64,1,opt,name=val,proto3" json:"val,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*NullFloat64) Descriptor
deprecated
func (*NullFloat64) Descriptor() ([]byte, []int)
Deprecated: Use NullFloat64.ProtoReflect.Descriptor instead.
func (*NullFloat64) GetVal ¶
func (x *NullFloat64) GetVal() float64
func (*NullFloat64) GetValid ¶
func (x *NullFloat64) GetValid() bool
func (*NullFloat64) ProtoMessage ¶
func (*NullFloat64) ProtoMessage()
func (*NullFloat64) ProtoReflect ¶
func (x *NullFloat64) ProtoReflect() protoreflect.Message
func (*NullFloat64) Reset ¶
func (x *NullFloat64) Reset()
func (*NullFloat64) Scan ¶
func (n *NullFloat64) Scan(value interface{}) error
////////// NullFloat64 /////////////////////// Scan implements Scanner interface for database driver
func (*NullFloat64) String ¶
func (x *NullFloat64) String() string
type NullInt32 ¶
type NullInt32 struct { Val int32 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*NullInt32) Descriptor
deprecated
func (*NullInt32) ProtoMessage ¶
func (*NullInt32) ProtoMessage()
func (*NullInt32) ProtoReflect ¶
func (x *NullInt32) ProtoReflect() protoreflect.Message
type NullInt64 ¶
type NullInt64 struct { Val int64 `protobuf:"varint,1,opt,name=val,proto3" json:"val,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*NullInt64) Descriptor
deprecated
func (*NullInt64) ProtoMessage ¶
func (*NullInt64) ProtoMessage()
func (*NullInt64) ProtoReflect ¶
func (x *NullInt64) ProtoReflect() protoreflect.Message
type NullString ¶
type NullString struct { Val string `protobuf:"bytes,1,opt,name=val,proto3" json:"val,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*NullString) Descriptor
deprecated
func (*NullString) Descriptor() ([]byte, []int)
Deprecated: Use NullString.ProtoReflect.Descriptor instead.
func (*NullString) GetVal ¶
func (x *NullString) GetVal() string
func (*NullString) GetValid ¶
func (x *NullString) GetValid() bool
func (*NullString) ProtoMessage ¶
func (*NullString) ProtoMessage()
func (*NullString) ProtoReflect ¶
func (x *NullString) ProtoReflect() protoreflect.Message
func (*NullString) Reset ¶
func (x *NullString) Reset()
func (*NullString) Scan ¶
func (n *NullString) Scan(value interface{}) error
Scan implements the Scanner interface.
func (*NullString) String ¶
func (x *NullString) String() string
type NullTime ¶
type NullTime struct { Val int64 `protobuf:"varint,1,opt,name=Val,proto3" json:"Val,omitempty"` Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` // contains filtered or unexported fields }
func (*NullTime) Descriptor
deprecated
func (*NullTime) ProtoMessage ¶
func (*NullTime) ProtoMessage()
func (*NullTime) ProtoReflect ¶
func (x *NullTime) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.