Infinite Toolkit (TK) is a Clean Architecture toolkit for Go. It provides validated value objects, infrastructure helpers for files, shell, network, crypto, and databases, and presentation utilities for API and CLI input and output.
While developed primarily for Infinite ecosystem projects, this open-source library is available for general use under the MIT license.
If you're looking for UI components, please refer to the Infinite UI repository.
[!TIP]
Working with an AI agent? Point it to SKILL.md before it writes code that imports TK. The skill maps the three layers and routes the agent to the right layer README. Installed projects find the same file at $(go env GOMODCACHE)/github.com/goinfinite/tk@<version>/SKILL.md.
[!IMPORTANT]
Human Reviewed: AI models assist development, but senior developers review every line for coherence, readability, and maintainability.
Installation
TK requires Go 1.27.1 or later. Install it with:
go get github.com/goinfinite/tk
See CHANGELOG.md for release history.
Usage
TK is a toolkit, not a framework. Use only the components you need. They are organized in three Clean Architecture layers, each documented in its own README:
- Domain — validated value objects, entities, DTOs, repository interfaces, use cases, and the Activity Record Management subsystem.
- Infrastructure — file, shell, network, crypto, and database helpers, plus repository implementations.
- Presentation — request parsers, response wrappers, and Echo middleware.
Each layer README lists its components and shows usage snippets.