package
3.1.1
Repository: https://github.com/tochemey/ego.git
Documentation: pkg.go.dev

# Functions

New returns a store connecting to the given Postgres database.
NewConfig creates an instance of Config.
NewTestContainer create a Postgres test container useful for unit and integration tests This function will exit when there is an error.Call this function inside your SetupTest to create the container before each test.

# Structs

Config defines the postgres configuration This configuration does not take into consideration the SSL mode TODO: enhance with SSL mode.
TestContainer helps creates a Postgres docker container to run unit tests.
TestDB is used in test to perform some database queries.

# Interfaces

Postgres will be implemented by concrete RDBMS store.