deletedAt

package
v0.7.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2026 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FlagDeleted = 1
	FlagActived = 0
)
View Source
var File_hopeio_time_deletedAt_deletedAt_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeletedAt

type DeletedAt struct {

	// Represents seconds of UTC time since Unix epoch
	// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
	// 9999-12-31T23:59:59Z inclusive.
	Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	// Non-negative fractions of a second at nanosecond resolution. Negative
	// second values with fractions must still have non-negative nanos values
	// that count forward in time. Must be from 0 to 999,999,999
	// inclusive.
	Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletedAt) DeleteClauses

func (*DeletedAt) DeleteClauses(f *schema.Field) []clause.Interface

func (*DeletedAt) Descriptor deprecated

func (*DeletedAt) Descriptor() ([]byte, []int)

Deprecated: Use DeletedAt.ProtoReflect.Descriptor instead.

func (*DeletedAt) GetNanos

func (x *DeletedAt) GetNanos() int32

func (*DeletedAt) GetSeconds

func (x *DeletedAt) GetSeconds() int64

func (*DeletedAt) GormDataType

func (x *DeletedAt) GormDataType() string

func (*DeletedAt) IsValid

func (x *DeletedAt) IsValid() bool

func (*DeletedAt) MarshalGQL

func (x *DeletedAt) MarshalGQL(w io.Writer)

func (*DeletedAt) MarshalJSON

func (x *DeletedAt) MarshalJSON() ([]byte, error)

func (*DeletedAt) ProtoMessage

func (*DeletedAt) ProtoMessage()

func (*DeletedAt) ProtoReflect

func (x *DeletedAt) ProtoReflect() protoreflect.Message

func (*DeletedAt) QueryClauses

func (*DeletedAt) QueryClauses(f *schema.Field) []clause.Interface

func (*DeletedAt) Reset

func (x *DeletedAt) Reset()

func (*DeletedAt) Scan

func (x *DeletedAt) Scan(value interface{}) error

Scan implements the Scanner interface.

func (*DeletedAt) String

func (x *DeletedAt) String() string

func (*DeletedAt) Time

func (x *DeletedAt) Time() time.Time

func (*DeletedAt) UnmarshalGQL

func (x *DeletedAt) UnmarshalGQL(v interface{}) error

func (*DeletedAt) UnmarshalJSON

func (x *DeletedAt) UnmarshalJSON(data []byte) error

func (*DeletedAt) UpdateClauses

func (*DeletedAt) UpdateClauses(f *schema.Field) []clause.Interface

func (*DeletedAt) Value

func (x *DeletedAt) Value() (driver.Value, error)

Value implements the driver Valuer interface.

type DeletedAtInput

type DeletedAtInput = DeletedAt

type DeletedAtTimestamp added in v0.5.15

type DeletedAtTimestamp struct {
	Mills int64 `protobuf:"varint,1,opt,name=mills,proto3" json:"mills,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletedAtTimestamp) Descriptor deprecated added in v0.5.15

func (*DeletedAtTimestamp) Descriptor() ([]byte, []int)

Deprecated: Use DeletedAtTimestamp.ProtoReflect.Descriptor instead.

func (*DeletedAtTimestamp) GetMills added in v0.5.15

func (x *DeletedAtTimestamp) GetMills() int64

func (*DeletedAtTimestamp) ProtoMessage added in v0.5.15

func (*DeletedAtTimestamp) ProtoMessage()

func (*DeletedAtTimestamp) ProtoReflect added in v0.5.15

func (x *DeletedAtTimestamp) ProtoReflect() protoreflect.Message

func (*DeletedAtTimestamp) Reset added in v0.5.15

func (x *DeletedAtTimestamp) Reset()

func (*DeletedAtTimestamp) String added in v0.5.15

func (x *DeletedAtTimestamp) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL