Documentation ¶
Index ¶
- type TimestampProtobuf
- func (p *TimestampProtobuf) BeforeCreate(db *gorm.DB)
- func (p *TimestampProtobuf) BeforeDelete(db *gorm.DB)
- func (p *TimestampProtobuf) BeforeQuery(db *gorm.DB)
- func (p *TimestampProtobuf) BeforeUpdate(db *gorm.DB)
- func (p *TimestampProtobuf) Initialize(db *gorm.DB) error
- func (p *TimestampProtobuf) Name() string
- func (*TimestampProtobuf) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue any) error
- func (p *TimestampProtobuf) SetIfNil(db *gorm.DB, value reflect.Value, fields ...string)
- func (*TimestampProtobuf) Value(ctx context.Context, field *schema.Field, dst reflect.Value, fieldValue any) (any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TimestampProtobuf ¶
type TimestampProtobuf struct { }
func (*TimestampProtobuf) BeforeCreate ¶
func (p *TimestampProtobuf) BeforeCreate(db *gorm.DB)
func (*TimestampProtobuf) BeforeDelete ¶
func (p *TimestampProtobuf) BeforeDelete(db *gorm.DB)
func (*TimestampProtobuf) BeforeQuery ¶
func (p *TimestampProtobuf) BeforeQuery(db *gorm.DB)
func (*TimestampProtobuf) BeforeUpdate ¶
func (p *TimestampProtobuf) BeforeUpdate(db *gorm.DB)
func (*TimestampProtobuf) Initialize ¶
func (p *TimestampProtobuf) Initialize(db *gorm.DB) error
func (*TimestampProtobuf) Name ¶
func (p *TimestampProtobuf) Name() string
Click to show internal directories.
Click to hide internal directories.