qor: github.com/josephbuchma/qor/audited Index | Files

package audited

import "github.com/josephbuchma/qor/audited"

Index

Package Files

audited.go callbacks.go

func RegisterCallbacks Uses

func RegisterCallbacks(db *gorm.DB)

type AuditedModel Uses

type AuditedModel struct {
    CreatedBy string
    UpdatedBy string
}

func (AuditedModel) GetCreatedBy Uses

func (model AuditedModel) GetCreatedBy() string

func (AuditedModel) GetUpdatedBy Uses

func (model AuditedModel) GetUpdatedBy() string

func (*AuditedModel) InjectQorAdmin Uses

func (model *AuditedModel) InjectQorAdmin(res *admin.Resource)

func (*AuditedModel) SetCreatedBy Uses

func (model *AuditedModel) SetCreatedBy(createdBy interface{})

func (*AuditedModel) SetUpdatedBy Uses

func (model *AuditedModel) SetUpdatedBy(updatedBy interface{})

Package audited imports 4 packages (graph). Updated 2017-03-18. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).