I kept writing constructor wiring up, domain types and API types conversions, test fixtures, DB row scans, bra-bra-brah by my hands.
I know that libraries those use reflections may help, but they fails on runtime and we cannot see what is happening without reading code. So I decided to create a project in oposite hand. Generate code and put it in our repository. The code is ordinary Go code, so that we can review, watch diffs and also debug it.For instance, when we have the following code,func NewDB() DB { return &DB{} }func NewUser(db DB) User { return User{db: db} }type Container struct {
User User `di:""`
}it generates...func NewContainer() *Container {
db := NewDB()
user := NewUser(db)
return &Container{User: user}
}No providers, just scan packages and find them.There are 5 generators.1. DI2. Struct to struct mapping (for protubf and so on)3. Test fixtures (from model to them)4. SQL queries (like an sqlc but without SQL and more like GORM)5. Type safe i18nAll we need is just a struct and tags.Project is just started and just hit v0.0.1.
Any feedbacks are very welcome.
Show HN: Kanna – Go generators for DI, queries, internationalization and more
No tagline provided.
View Origin LinkProduct Positioning & Context
Related Ecosystem & Alternatives
Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.
Deep-Dive FAQs
What is Kanna – Go generators for DI, queries, internationalization and more?
Kanna – Go generators for DI, queries, internationalization and more is a digital product or tool described as: I kept writing constructor wiring up, domain types and API types conversions, test fixtures, DB row scans, bra-bra-brah by my hands.
I know that li...
Where did Kanna – Go generators for DI, queries, internationalization and more originate?
Data for Kanna – Go generators for DI, queries, internationalization and more was aggregated directly from the Hacker News community ecosystem, representing raw developer and early-adopter sentiment.
When was Kanna – Go generators for DI, queries, internationalization and more publicly launched?
The initial public indexing or launch date for Kanna – Go generators for DI, queries, internationalization and more within our tracked developer communities was recorded on August 20, 2026.
How popular is Kanna – Go generators for DI, queries, internationalization and more?
Kanna – Go generators for DI, queries, internationalization and more has achieved measurable traction, logging over 3 traction score and facilitating 0 recorded discussions or engagements.
How does the creator describe Kanna – Go generators for DI, queries, internationalization and more?
The original author or development team describes the product as follows: "I kept writing constructor wiring up, domain types and API types conversions, test fixtures, DB row scans, bra-bra-brah by my hands.
I know that libraries those use reflections may help, but they f..."
Community Voice & Feedback
No active discussions extracted yet.
Discovery Source
Hacker News Aggregated via automated community intelligence tracking.
Tech Stack Dependencies
No direct open-source NPM package mentions detected in the product documentation.
Media Tractions & Mentions
No mainstream media stories specifically mentioning this product name have been intercepted yet.
Deep Research & Science
No direct peer-reviewed scientific literature matched with this product's architecture.
SaaS Metrics