Documentation
¶
Index ¶
- Variables
- type Timestamp
- func (*Timestamp) Descriptor() ([]byte, []int)deprecated
- func (x *Timestamp) GetTimestamp() *timestamppb.Timestamp
- func (*Timestamp) GormDataType() string
- func (x *Timestamp) MarshalJSON() ([]byte, error)
- func (*Timestamp) ProtoMessage()
- func (x *Timestamp) ProtoReflect() protoreflect.Message
- func (x *Timestamp) Reset()
- func (x *Timestamp) Scan(src interface{}) error
- func (x *Timestamp) String() string
- func (x *Timestamp) UnmarshalJSON(data []byte) error
- func (x *Timestamp) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var File_ormpb_orm_proto protoreflect.FileDescriptor
View Source
var Type = reflect.TypeOf(new(Timestamp))
Functions ¶
This section is empty.
Types ¶
type Timestamp ¶
type Timestamp struct {
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty" gorm:"-:all"`
// contains filtered or unexported fields
}
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetTimestamp ¶
func (x *Timestamp) GetTimestamp() *timestamppb.Timestamp
func (*Timestamp) GormDataType ¶
func (*Timestamp) MarshalJSON ¶
MarshalJSON implements json.Marshaler to convert Time to json serialization.
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
func (*Timestamp) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler to deserialize json data.
Click to show internal directories.
Click to hide internal directories.