{"repo":"go-kod/kod","free":true,"listed":false,"github":"https://github.com/go-kod/kod","clone":"git clone https://github.com/go-kod/kod.git","description":"A generics based dependency injection application framework for Go, supporting aspect oriented programming based on interceptors","language":"Go","stars":199,"topics":["code-generation","dependency-injection","framework","generics","go","golang","interceptor","microservice","reflection","fx"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"English • 简体中文 Examples • Template • Extention Kod Kod stands for Killer Of Dependency , a generics based dependency injection framework for Go. Although it seems that most Go enthusiasts dislike dependency injection framework, many companies that widely use Go for their development projects have open-sourced their own dependency injection frameworks. For example, Google has open-sourced Wire, Uber has open-sourced Fx, and Facebook has open-sourced Inject. This is truly a strange phenomenon. Feature - Component Based : Kod is a component-based framework. Components are the building blocks of a Kod application. - Configurable : Kod can use TOML/YAML/JSON files to configure how applications are run. - Testing : Kod includes a Test function that you can use to test your Kod applications. - Logging : Kod provides a logging API, kod.L . Kod also integrates the logs into the environment where your application is deployed. - OpenTelemetry : Kod relies on OpenTelemetry to collect trace and metrics from your application. - Hooks : Kod provides a way to run code when a component start or stop. - Interceptors : Kod has built-in common interceptors, and components can implement the following methods to inject these interceptors into component methods. - Interface Generation : Kod provides a way to generate interface from structure. - Code Generation : Kod provides a way to generate kod related codes for your kod application. Installation If the installation was successful, you should be ","default_branch":null,"files":null,"tree":[],"storefront":"/r/go-kod","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/go-kod/kod/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}