package
0.0.0-20240507075053-f7fd615408e7
Repository: https://github.com/romainbousseau/probhammer.git
Documentation: pkg.go.dev
# Functions
LoadConfig loads env variables based on env and build a Config object.
Migrate handles migration on the DB.
OpenDBConnection opens a db connection based on config.
SetTestStorage sets DB and storage for the test env It provides a cleanup function to be called in tests with: t.Cleanup(cleanup).