Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogRepository ¶
type AuditLogService ¶
type AuditLogService interface {
CreateAuditLog(auditLog models.AuditLog) error
QueAuditLog(ctx context.Context)
ParseAndCreateAuditLog(audit models.AuditLogRequest, module_id, module string, beforeChange, afterChang interface{}, err error)
}
func NewAuditLogService ¶
func NewAuditLogService(r AuditLogRepository) AuditLogService
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewAuditLogRepository ¶
func NewAuditLogRepository(db *bun.DB) *Repository
func (*Repository) CreateAuditLog ¶
Click to show internal directories.
Click to hide internal directories.