Documentation ¶
Index ¶
- Variables
- type ModelTime
- func (*ModelTime) Descriptor() ([]byte, []int)deprecated
- func (x *ModelTime) GetCreatedAt() *timestamp.Timestamp
- func (x *ModelTime) GetDeletedAt() *deletedAt.DeletedAt
- func (x *ModelTime) GetUpdatedAt() *timestamp.Timestamp
- func (*ModelTime) ProtoMessage()
- func (x *ModelTime) ProtoReflect() protoreflect.Message
- func (x *ModelTime) Reset()
- func (x *ModelTime) String() string
- type ModelTimeStr
- func (*ModelTimeStr) Descriptor() ([]byte, []int)deprecated
- func (x *ModelTimeStr) GetCreatedAt() string
- func (x *ModelTimeStr) GetDeletedAt() string
- func (x *ModelTimeStr) GetUpdateAt() string
- func (*ModelTimeStr) ProtoMessage()
- func (x *ModelTimeStr) ProtoReflect() protoreflect.Message
- func (x *ModelTimeStr) Reset()
- func (x *ModelTimeStr) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cherry_protobuf_time_model_model_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ModelTime ¶
type ModelTime struct { CreatedAt *timestamp.Timestamp `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now()"` UpdatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" gorm:"type:timestamptz(6);default:now()"` DeletedAt *deletedAt.DeletedAt `protobuf:"bytes,3,opt,name=deletedAt,proto3" json:"deletedAt,omitempty" gorm:"<-:false;type:timestamptz(6);index"` // contains filtered or unexported fields }
func (*ModelTime) Descriptor
deprecated
func (*ModelTime) GetCreatedAt ¶
func (*ModelTime) GetDeletedAt ¶
func (*ModelTime) GetUpdatedAt ¶
func (*ModelTime) ProtoMessage ¶
func (*ModelTime) ProtoMessage()
func (*ModelTime) ProtoReflect ¶
func (x *ModelTime) ProtoReflect() protoreflect.Message
type ModelTimeStr ¶
type ModelTimeStr struct { CreatedAt string `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now();index"` UpdateAt string `protobuf:"bytes,2,opt,name=updateAt,proto3" json:"updateAt,omitempty" gorm:"type:timestamptz(6);default:now()"` DeletedAt string `protobuf:"bytes,3,opt,name=deletedAt,proto3" json:"deletedAt,omitempty" gorm:"<-:false;type:timestamptz(6);index"` // contains filtered or unexported fields }
func (*ModelTimeStr) Descriptor
deprecated
func (*ModelTimeStr) Descriptor() ([]byte, []int)
Deprecated: Use ModelTimeStr.ProtoReflect.Descriptor instead.
func (*ModelTimeStr) GetCreatedAt ¶
func (x *ModelTimeStr) GetCreatedAt() string
func (*ModelTimeStr) GetDeletedAt ¶
func (x *ModelTimeStr) GetDeletedAt() string
func (*ModelTimeStr) GetUpdateAt ¶
func (x *ModelTimeStr) GetUpdateAt() string
func (*ModelTimeStr) ProtoMessage ¶
func (*ModelTimeStr) ProtoMessage()
func (*ModelTimeStr) ProtoReflect ¶
func (x *ModelTimeStr) ProtoReflect() protoreflect.Message
func (*ModelTimeStr) Reset ¶
func (x *ModelTimeStr) Reset()
func (*ModelTimeStr) String ¶
func (x *ModelTimeStr) String() string
Click to show internal directories.
Click to hide internal directories.