Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditModel ¶
type AuditModel struct {
Timestamp time.Time `db:"timestamp"`
Action string `db:"action"`
Actor string `db:"actor"`
Data types.NullJSONText `db:"data"`
Metadata types.NullJSONText `db:"metadata"`
}
type PostgresRepository ¶
type PostgresRepository struct {
// contains filtered or unexported fields
}
func NewPostgresRepository ¶
func NewPostgresRepository(db *sql.DB) *PostgresRepository
func (*PostgresRepository) DB ¶
func (r *PostgresRepository) DB() *sql.DB
Click to show internal directories.
Click to hide internal directories.