
🛠️ Kanna – Go generators for DI, queries, internationalization and more
Summary
Kanna is a collection of Go code generators that handle dependency injection, struct mapping, test fixtures, SQL queries, and internationalization at compile time. It uses structs and tags to generate readable and debuggable Go code directly in the repository.
Why it’s interesting
It provides five different compile-time Go code generation tools using structs and tags to avoid runtime reflection issues.
Target user
Go developers
Source metrics: Points 3 · Comments 0
HN discussion · Project
Source: Hacker News / Show HN
Summary
Kanna is a collection of Go code generators that handle dependency injection, struct mapping, test fixtures, SQL queries, and internationalization at compile time. It uses structs and tags to generate readable and debuggable Go code directly in the repository.
Why it’s interesting
It provides five different compile-time Go code generation tools using structs and tags to avoid runtime reflection issues.
Target user
Go developers
Source metrics: Points 3 · Comments 0
HN discussion · Project
Source: Hacker News / Show HN