package
1.3.0
Repository: https://github.com/momeni/clean-arch.git
Documentation: pkg.go.dev

# Packages

Package carsrp is the adapter for the cars repository.
Package migration is the top-level database migration package which acts as a facade for all supported database schema versions.
Package schemarp provides a reification of the repo.Schema interface making it possible to create or drop different schema, foreign server, or manage database user roles.
Package settingsrp is the adapter for the settings repository.

# Functions

NewPool instantiates a connection pool using a url connection string.
NoOpConnHandler is a connection handler which performs no operation.

# Constants

latest supported schema major version.
latest schema minor version in Major series.
latest schema patch version in Minor series.

# Variables

Version is the latest supported database schema semantic version.

# Structs

Conn represents a database connection.
Pool represents a database connection pool.
Tx represents a database transaction.

# Interfaces

Queryer interface includes methods for running SQL statements.

# Type aliases

ConnHandler is a handler function which takes a context and a database connection which should be used solely from the current goroutine (or by proper synchronization).
TxHandler is a handler function which takes a context and an ongoing transaction.