toolbox

module
v0.0.0-...-ccee039 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT

README

toolbox

CI Go Reference

Reusable Go packages for building web applications.

Packages

  • slogx: Structured logging helpers wrapping log/slog
  • versionx: Version extraction from Go build info
  • httpx: HTTP router, middleware, flash messages, and JSON helpers
  • migrate: SQL migration runner with pluggable drivers
  • auth: Authentication primitives: passwords, sessions, OIDC, API tokens, rate limiting

Directories

Path Synopsis
Package auth provides session, API token, password, OIDC, and rate- limit primitives plus the middleware to wire them into an HTTP pipeline.
Package auth provides session, API token, password, OIDC, and rate- limit primitives plus the middleware to wire them into an HTTP pipeline.
Package migrate provides a minimal database migration runner.
Package migrate provides a minimal database migration runner.
pgxmigrate
Package pgxmigrate provides a migrate.DB adapter for pgx.
Package pgxmigrate provides a migrate.DB adapter for pgx.
Package slogx wraps log/slog with convenience helpers so callers only need a single import for structured logging.
Package slogx wraps log/slog with convenience helpers so callers only need a single import for structured logging.
Package spa serves a compiled Vite/Svelte SPA from an embedded fs.FS.
Package spa serves a compiled Vite/Svelte SPA from an embedded fs.FS.
Package versionx extracts version information from Go build info.
Package versionx extracts version information from Go build info.

Jump to

Keyboard shortcuts

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