Skip to content

v0.0.1: Add PostgreSQL support to stock-persistence module

Latest
Compare
Choose a tag to compare
@Helgart Helgart released this 04 Apr 07:56
· 1 commit to main since this release
This commit introduces PostgreSQL support to the stock-persistence module, enables database connection testing and handles connection errors. New Go files added under the infrastructure/database and database/postgres directories implement the database functionality. The module now depends on the lib/pq PostgreSQL driver and the go-sqlmock library for mocking SQL queries during testing.