Documentation ¶
Overview ¶
Package envers with config utils
Index ¶
- Constants
- func AfterCreate(tx *gorm.DB, e interface{}) (err error)
- func AfterDelete(tx *gorm.DB, emptyModel interface{}, columnIDName string, id interface{}, ...) (err error)
- func AfterUpdate(tx *gorm.DB, emptyModel interface{}, columnIDName string, id interface{}, ...) (err error)
- func NewConfig() config
- func NewGormEnversPlugin(config config) gorm.Plugin
- func NewSQLAud(config config) *sqlAud
- type AudData
- type Audited
- type Revinfo
Constants ¶
View Source
const Add = 0
View Source
const Del = 2
View Source
const Update = 1
Variables ¶
This section is empty.
Functions ¶
func AfterCreate ¶
func AfterDelete ¶
func AfterUpdate ¶
func NewGormEnversPlugin ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.