Golly
Golly is a collection of enterprise-grade, open-source Go libraries designed to simplify modern software development. Zero bloat, minimal dependencies, production-ready.
Why Golly?
| Modular | Import only the packages you need — no monolithic framework |
| Minimal Dependencies | Self-contained toolkit that reduces dependency conflicts |
| Enterprise-Grade | Battle-tested for reliability, scalability, and maintainability |
| Idiomatic Go | Follows Go conventions — interfaces, context propagation, error handling |
Package Categories
Golly organises 31 packages into six thematic categories:
🔧 Fundamentals
Core building blocks — assertions, CLI tools, generic collections, configuration management, error utilities, and deferred function helpers.
📦 Data & Encoding
Structured data handling — multi-format codec (JSON/XML/YAML), data pipelines, semantic versioning, text utilities, and UUID generation.
📡 Networking
HTTP clients and servers — REST client with retries and auth, high-performance Turbo router, and cross-platform messaging interfaces.
🏗️ Infrastructure
Operational foundations — chrono task scheduler, L3 structured logging, lifecycle management, object pooling, filesystem utilities, secret management, and virtual filesystem.
🤖 AI
Generative AI framework — provider-agnostic LLM interface with OpenAI, Claude, and Ollama implementations, prompt templates, and streaming support.
🧪 Testing
Test utilities — flexible assertion library for consistent, readable test code.
Cloud Extensions
Golly provides cloud provider extensions that implement core interfaces (VFS, Messaging, GenAI) for real cloud services:
☁️ AWS
S3 storage, SQS/SNS messaging, and Bedrock GenAI — powered by the AWS SDK for Go v2.
☁️ GCP
Cloud Storage, Pub/Sub messaging, and Vertex AI / Gemini GenAI — powered by official Google Cloud client libraries.
Quick Start
go get oss.nandlabs.io/gollypackage main
import "oss.nandlabs.io/golly/l3"
func main() {
logger := l3.Get()
logger.Info("Hello from Golly!")
}