Package Categories
Core Infrastructure
Config
Flexible configuration management with support for files, environment variables, and command-line flags
Database
Database connection management with connection pooling and migrations
Logging
Structured logging with multiple backend implementations
Telemetry
OpenTelemetry integration for metrics and distributed tracing
CLI Development
Commander
Enhanced Cobra command management with topics, hooks, and reference generation
Printer
Terminal output utilities including tables, spinners, and progress bars
Prompter
Interactive user input with selections, confirmations, and text input
Authentication & Security
OIDC
OpenID Connect authentication with PKCE support
Audit
Audit logging for tracking user actions and system events
Server Utilities
Mux
Multiplexed server management for HTTP and gRPC
SPA
Single-page application serving utilities
Data Processing
JSON Diff
Intelligent JSON comparison and change tracking
RQL
REST Query Language parser for advanced filtering and sorting
Utils
General utilities including gRPC status helpers
Installation
Install Salt packages using Go modules:Design Principles
Modularity
Modularity
Each package is independently usable. Import only what you need without carrying unnecessary dependencies.
Production Ready
Production Ready
All packages are battle-tested in production environments and follow Go best practices.
Minimal Dependencies
Minimal Dependencies
Carefully curated dependencies to keep your binary size small and maintenance burden low.
Testability
Testability
Designed with testing in mind, including mock implementations and test utilities.
Quick Start Example
Here’s a complete example combining multiple Salt packages:Package Dependencies
Salt uses the following major dependencies:- Configuration: Viper, Cobra, pflags
- Database: sqlx, golang-migrate
- Logging: logrus
- Telemetry: OpenTelemetry
- CLI: Cobra, survey, tablewriter
- Auth: golang.org/x/oauth2
Getting Help
GitHub Issues
Report bugs or request features
Examples
Browse example code and usage patterns