Skip to content

glenn-brown/golang-di-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

golang-di-example

This package demonstrates how Dependency Injection can be used with the Go programming language. It is an excellent fit!

The logclient package implements a LogClient type (class) with a single injected dependency: the log to be written.

Download, build, and test this example with go test github.com/glenn-brown/golang-di-example or view the documentation with go doc github.com/glenn-brown/golang-di-example

About

Dependency Injection example in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages