Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.28 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.28 KB

🔌 autowire GoDoc Github release Go Report Card

Autowire is reflection based dependency-injection library for Golang.

This README is in working in progress state.

Installation

The whole project build with go modules. To get the latest version, use go1.16+ and fetch it using the go get command. For example:

go get github.com/go-autowire/autowire

To get the specific version, use go1.16+ and fetch it using the go get command. For example:

go get github.com/go-autowire/autowire@v1.0.6

Documentation

Overview

Autowire is a simple golang module that automatically connects components using dependency injection. Autowire works using Go's reflection package and struct field tags. Dependencies inside the components should be annotated with "autowire" tag.

Quick Start