Standard library packages for Go services at Pharia Data (Aleph Alpha). This repository provides common utilities and clients for services such as logging, metrics, database access, and message queues.
To use this package in your Go project, add it as a dependency:
go get github.com/Aleph-Alpha/stdThis module contains several packages that you can import into your project:
// Import the logger package
import "github.com/Aleph-Alpha/std/v1/logger"
// Import the minio package
import "github.com/Aleph-Alpha/std/v1/minio"
// Import the rabbit package
import "github.com/Aleph-Alpha/std/v1/rabbit"This project includes several methods for running tests, with special handling for environments using Colima for Docker containerization.
To run basic tests without container support:
make testFor tests that require Docker containers (like integration tests), use:
make test-with-containersThis command automatically detects if Colima is running on your system:
- If Colima is detected, it will configure the proper Docker socket path and disable Ryuk
- If Colima is not detected, it falls back to standard Docker configuration
If you need more control, you can run tests manually:
DOCKER_HOST=unix://$HOME/.colima/default/docker.sock TESTCONTAINERS_RYUK_DISABLED=true go test -v ./...Generated on Thu Dec 18 12:16:13 CET 2025