autowire

module
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2021 License: MIT

README

🔌 autowire GoDoc Github release Go Report Card

Reflection based dependency injection toolkit for Golang.

This README is in working in progress state.

Installation

The whole project is based on 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/[email protected]

Directories

Path Synopsis
example
app
Package app holds primary application code
Package app holds primary application code
configuration
Package configuration holds application configs
Package configuration holds application configs
repository
Package repository holds all repos
Package repository holds all repos
service
Package service holds all services.
Package service holds all services.
pkg
Package pkg is a framework that makes easy using the dependency injection in Golang.
Package pkg is a framework that makes easy using the dependency injection in Golang.
atesting
Package atesting provides Spy function for easy way to mock dependencies
Package atesting provides Spy function for easy way to mock dependencies
internal
Package internal holds unexported api code
Package internal holds unexported api code
internal/fake
Package fake holds test structs
Package fake holds test structs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL