package
0.0.0-20230118092103-de70ca622e41
Repository: https://github.com/packtpublishing/hands-on-dependency-injection-in-go.git
Documentation: pkg.go.dev

# Functions

NewDAO will initialize the database connection pool (if not already done) and return a data access object which can be used to interact with the database.

# Variables

ErrNotFound is returned when the no records where matched by the query.

# Structs

DAO is a data access object that provides an abstraction over our database interactions.
No description provided by the author
Person is the data transfer object (DTO) for this package.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Config is the configuration for the data package.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author