Versions in this module Expand all Collapse all v1 v1.24.0 Aug 18, 2022 Changes in this version + var File_postgres_arrays_postgres_arrays_proto protoreflect.FileDescriptor + func DefaultDeleteExample(ctx context.Context, in *Example, db *gorm.DB) error + func DefaultDeleteExampleSet(ctx context.Context, in []*Example, db *gorm.DB) error + type Example struct + ArrayOfBools []bool + ArrayOfFloat64 []float64 + ArrayOfInt64 []int64 + ArrayOfString []string + Description string + Id string + func DefaultApplyFieldMaskExample(ctx context.Context, patchee *Example, patcher *Example, ...) (*Example, error) + func DefaultCreateExample(ctx context.Context, in *Example, db *gorm.DB) (*Example, error) + func DefaultListExample(ctx context.Context, db *gorm.DB) ([]*Example, error) + func DefaultPatchExample(ctx context.Context, in *Example, updateMask *field_mask.FieldMask, ...) (*Example, error) + func DefaultPatchSetExample(ctx context.Context, objects []*Example, updateMasks []*field_mask.FieldMask, ...) ([]*Example, error) + func DefaultReadExample(ctx context.Context, in *Example, db *gorm.DB) (*Example, error) + func DefaultStrictUpdateExample(ctx context.Context, in *Example, db *gorm.DB) (*Example, error) + func (*Example) Descriptor() ([]byte, []int) + func (*Example) ProtoMessage() + func (m *Example) ToORM(ctx context.Context) (ExampleORM, error) + func (x *Example) GetArrayOfBools() []bool + func (x *Example) GetArrayOfFloat64() []float64 + func (x *Example) GetArrayOfInt64() []int64 + func (x *Example) GetArrayOfString() []string + func (x *Example) GetDescription() string + func (x *Example) GetId() string + func (x *Example) ProtoReflect() protoreflect.Message + func (x *Example) Reset() + func (x *Example) String() string + type ExampleORM struct + ArrayOfBools pq.BoolArray + ArrayOfFloat64 pq.Float64Array + ArrayOfInt64 pq.Int64Array + ArrayOfString pq.StringArray + Description string + Id string + func (ExampleORM) TableName() string + func (m *ExampleORM) ToPB(ctx context.Context) (Example, error) + type ExampleORMWithAfterCreate_ interface + AfterCreate_ func(context.Context, *gorm.DB) error + type ExampleORMWithAfterDeleteSet interface + AfterDeleteSet func(context.Context, []*Example, *gorm.DB) error + type ExampleORMWithAfterDelete_ interface + AfterDelete_ func(context.Context, *gorm.DB) error + type ExampleORMWithAfterListFind interface + AfterListFind func(context.Context, *gorm.DB, *[]ExampleORM) error + type ExampleORMWithAfterReadFind interface + AfterReadFind func(context.Context, *gorm.DB) error + type ExampleORMWithAfterStrictUpdateSave interface + AfterStrictUpdateSave func(context.Context, *gorm.DB) error + type ExampleORMWithBeforeCreate_ interface + BeforeCreate_ func(context.Context, *gorm.DB) (*gorm.DB, error) + type ExampleORMWithBeforeDeleteSet interface + BeforeDeleteSet func(context.Context, []*Example, *gorm.DB) (*gorm.DB, error) + type ExampleORMWithBeforeDelete_ interface + BeforeDelete_ func(context.Context, *gorm.DB) (*gorm.DB, error) + type ExampleORMWithBeforeListApplyQuery interface + BeforeListApplyQuery func(context.Context, *gorm.DB) (*gorm.DB, error) + type ExampleORMWithBeforeListFind interface + BeforeListFind func(context.Context, *gorm.DB) (*gorm.DB, error) + type ExampleORMWithBeforeReadApplyQuery interface + BeforeReadApplyQuery func(context.Context, *gorm.DB) (*gorm.DB, error) + type ExampleORMWithBeforeReadFind interface + BeforeReadFind func(context.Context, *gorm.DB) (*gorm.DB, error) + type ExampleORMWithBeforeStrictUpdateCleanup interface + BeforeStrictUpdateCleanup func(context.Context, *gorm.DB) (*gorm.DB, error) + type ExampleORMWithBeforeStrictUpdateSave interface + BeforeStrictUpdateSave func(context.Context, *gorm.DB) (*gorm.DB, error) + type ExampleWithAfterPatchSave interface + AfterPatchSave func(context.Context, *Example, *field_mask.FieldMask, *gorm.DB) error + type ExampleWithAfterToORM interface + AfterToORM func(context.Context, *ExampleORM) error + type ExampleWithAfterToPB interface + AfterToPB func(context.Context, *Example) error + type ExampleWithBeforePatchApplyFieldMask interface + BeforePatchApplyFieldMask func(context.Context, *Example, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error) + type ExampleWithBeforePatchRead interface + BeforePatchRead func(context.Context, *Example, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error) + type ExampleWithBeforePatchSave interface + BeforePatchSave func(context.Context, *Example, *field_mask.FieldMask, *gorm.DB) (*gorm.DB, error) + type ExampleWithBeforeToORM interface + BeforeToORM func(context.Context, *ExampleORM) error + type ExampleWithBeforeToPB interface + BeforeToPB func(context.Context, *Example) error