primordium

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2026 License: Apache-2.0

README

Primordium

A small Go library containing a handful of utility components shared in all our projects.

Initial core building blocks in tissue

Primordium

Purpose

Primordium provides generic helpers for all Mycophonic audio Go project.

  • a filesystem layer that provides locking, atomic writes, buffered readers and writers, OS specific limitations handling, ref-counting
  • networking secure defaults for ssh and http
  • standardized errors
  • output formatting helpers
  • digest computation
  • logger configuration helpers and other "app" oriented helpers
  • SIMD assembly for audio processing

Directories

Path Synopsis
app
Package app provides application lifecycle helpers (initialization for filesystem, network, logger) and shutdown.
Package app provides application lifecycle helpers (initialization for filesystem, network, logger) and shutdown.
logger
Package logger configures zerolog with sensible defaults as a backend for stdlib slog.
Package logger configures zerolog with sensible defaults as a backend for stdlib slog.
shutdown
Package shutdown provides primitives to manage application shutdown handlers and cleanup.
Package shutdown provides primitives to manage application shutdown handlers and cleanup.
Package digest provides core types for digest handling and content-addressable storage.
Package digest provides core types for digest handling and content-addressable storage.
Package fault provides a set of errors consistently used across quark codebase.
Package fault provides a set of errors consistently used across quark codebase.
Package filesystem provides low level primitives to ease FS manipulation.
Package filesystem provides low level primitives to ease FS manipulation.
Package format provides output formatters for hypha.
Package format provides output formatters for hypha.
Package network currently provides sane defaults http and ssh transport config to be used across all network operations.
Package network currently provides sane defaults http and ssh transport config to be used across all network operations.
Package reporter wrapper abstracting Sentry.
Package reporter wrapper abstracting Sentry.
Package simd provides SIMD-accelerated operations for float32 slices.
Package simd provides SIMD-accelerated operations for float32 slices.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL