Documentation ¶
Index ¶
- Variables
- type ModelTime
- func (*ModelTime) Descriptor() ([]byte, []int)deprecated
- func (x *ModelTime) GetCreatedAt() *time.Time
- func (x *ModelTime) GetDeletedAt() *deletedAt.DeletedAt
- func (x *ModelTime) GetUpdatedAt() *time.Time
- func (*ModelTime) ProtoMessage()
- func (x *ModelTime) ProtoReflect() protoreflect.Message
- func (x *ModelTime) Reset()
- func (x *ModelTime) String() string
- type ModelTimeStamp
- func (*ModelTimeStamp) Descriptor() ([]byte, []int)deprecated
- func (x *ModelTimeStamp) GetCreatedAt() int64
- func (x *ModelTimeStamp) GetDeletedAt() int64
- func (x *ModelTimeStamp) GetUpdateAt() int64
- func (*ModelTimeStamp) ProtoMessage()
- func (x *ModelTimeStamp) ProtoReflect() protoreflect.Message
- func (x *ModelTimeStamp) Reset()
- func (x *ModelTimeStamp) 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_hopeio_model_time_model_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ModelTime ¶
type ModelTime struct { CreatedAt *time.Time `protobuf:"bytes,1,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now()"` UpdatedAt *time.Time `protobuf:"bytes,2,opt,name=updatedAt,proto3" json:"updatedAt,omitempty" gorm:"type:timestamptz(6)"` 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 ModelTimeStamp ¶ added in v0.0.22
type ModelTimeStamp struct { CreatedAt int64 `protobuf:"varint,1,opt,name=createdAt,proto3" json:"createdAt,omitempty" gorm:"type:timestamptz(6);default:now();index"` UpdateAt int64 `protobuf:"varint,2,opt,name=updateAt,proto3" json:"updateAt,omitempty" gorm:"type:timestamptz(6)"` DeletedAt int64 `protobuf:"varint,3,opt,name=deletedAt,proto3" json:"deletedAt,omitempty" gorm:"<-:false;type:timestamptz(6);index"` // contains filtered or unexported fields }
func (*ModelTimeStamp) Descriptor
deprecated
added in
v0.0.22
func (*ModelTimeStamp) Descriptor() ([]byte, []int)
Deprecated: Use ModelTimeStamp.ProtoReflect.Descriptor instead.
func (*ModelTimeStamp) GetCreatedAt ¶ added in v0.0.22
func (x *ModelTimeStamp) GetCreatedAt() int64
func (*ModelTimeStamp) GetDeletedAt ¶ added in v0.0.22
func (x *ModelTimeStamp) GetDeletedAt() int64
func (*ModelTimeStamp) GetUpdateAt ¶ added in v0.0.22
func (x *ModelTimeStamp) GetUpdateAt() int64
func (*ModelTimeStamp) ProtoMessage ¶ added in v0.0.22
func (*ModelTimeStamp) ProtoMessage()
func (*ModelTimeStamp) ProtoReflect ¶ added in v0.0.22
func (x *ModelTimeStamp) ProtoReflect() protoreflect.Message
func (*ModelTimeStamp) Reset ¶ added in v0.0.22
func (x *ModelTimeStamp) Reset()
func (*ModelTimeStamp) String ¶ added in v0.0.22
func (x *ModelTimeStamp) String() string
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)"` 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.