Help us shape the future of Go! Take the 2026 Go Developer Survey

dbaudit

package module
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: MIT Imports: 3 Imported by: 1

README

dbaudit

Module for tracking create and update audit attributes for database records

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Audit

type Audit struct {
	CreateClient    apiclient.Client
	CreateUsername  string
	CreateTimestamp time.Time
	UpdateClient    apiclient.Client
	UpdateUsername  string
	UpdateTimestamp time.Time
}

Audit represents fields meant to track when an action was taken and by whom

func TestHelper added in v0.3.0

func TestHelper(t *testing.T) *Audit

TestHelper is a constructor for a dbAudit struct populating it with test data

Jump to

Keyboard shortcuts

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