This project utilises the following external Go libraries:
-
goose - A library for managing database migrations, version 3. This utility creates discrete SQL migration files that get sequentially applied to transition your database schema to the desired state.
-
pgx - A PostgreSQL driver and toolkit, version 5. This tool provides robust, feature-rich, and high performance connectivity solutions for accessing PostgreSQL databases.
-
godotenv - A Go port of the Ruby dotenv library (which loads environment variables from a .env file into ENV when the environment is bootstrapped).
-
dockertest - A Go library for executing Docker-based integration testing. It provides easy access to Docker containers to set up isolated environments for running tests.
-
ulid - A Go library for generating ULIDs (Universally Unique Lexicographically Sortable Identifier).
-
zerolog - A Go library for logging.
-
mysql - A MySQL driver for Go.
-
sqlx - An extension to the standard Go "database/sql" library.
-
pq - A driver and toolkit for PostgreSQL.
-
mongo-go-driver - The Go driver for MongoDB. This driver provides a simple, consistent API to MongoDB from Go applications.
-
rueidis - A Redis client library for Go that focuses on simplicity, correctness, and performance.
-
counterfeiter - A generate mocks interface
Releases should follow the
year=23
month=12
date=15
v1.lastYearMonthDate.HourMinute
example. v1.231215.2307
- stop and rm container by prefix name
docker ps -a --filter "name=prefixname" -q | xargs docker stop docker ps -a --filter "name=prefixname" -q | xargs docker rm
- rm network by prefix
docker network rm $(docker network ls --filter "name=prefixname" -q)