dbdel

package
v0.0.1-20230428-0001 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(input DeleteInput) (_err error)

Delete -> it will work only in case if UpdateOnSoftDelete Tag has been set in Model gorm Tag

func DeleteV2

func DeleteV2(input DeleteInput) (_err error)

func DeleteV3

func DeleteV3(input DeleteInput) (_err error)

Types

type DeleteInput

type DeleteInput struct {
	UserID uuid.UUID
	Ctx    context.Context
	Record interface{}
	DB     *gorm.DB
}

Jump to

Keyboard shortcuts

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