Skip to content

go-autowire/autowire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”Œ 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