# Functions

MySQLDuplicateEntry returns true if err is mysql error "Duplicate entry…".
NewMetrics registers and returns common DAL metrics used by all services (namespace).
NewMySQL creates and returns new Repo.
NewPostgres creates and returns new Repo.
PostgresErrName returns true if err is PostgreSQL error with given name.
PostgresFromDuration creates new interval from duration.
PostgresFromIP creates new Inet from ip.

# Constants

MySQLMaxKeySize for indexed MySQL utf8mb4 CHAR/VARCHAR column.
Error names.
Error names.

# Variables

Errors.

# Structs

Metrics contains general metrics for DAL methods.
MySQLConfig contains repo configuration.
PostgresConfig contains repo configuration.
PostgresInet is a wrapper around pgtype.Inet.
Repo provides access to storage.

# Type aliases

Ctx is a synonym for convenience.