Skip to content

Aleph-Alpha/std

Repository files navigation

Pharia Data Standard Library Logo

Pharia Data Standard Library

Go Report Card GoDoc License

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.

Adding as a Dependency

To use this package in your Go project, add it as a dependency:

go get github.com/Aleph-Alpha/std

Importing Packages

This 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"

Running Tests

This project includes several methods for running tests, with special handling for environments using Colima for Docker containerization.

Standard Tests

To run basic tests without container support:

make test

Tests with Containers

For tests that require Docker containers (like integration tests), use:

make test-with-containers

This 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

Manual Testing

If you need more control, you can run tests manually:

With Colima

DOCKER_HOST=unix://$HOME/.colima/default/docker.sock TESTCONTAINERS_RYUK_DISABLED=true go test -v ./...

Go Packages Documentation

Generated on Thu Dec 18 12:16:13 CET 2025

Packages

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5