How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Go Engineering - Dependency Injection

calendar_today July 13, 2021 person domain kratos

In the default project template kratos-layout of the microservices framework kratos v2 , we use google/wire for dependency injection and recommend that developers use this tool when maintaining projects. At first glance, wire seems counter-intuitive, leading many developers to not understand why to use it or how to use it (including myself in the past). This article aims to help everyone understand the usage of wire.

open_in_new Read original post