gopkg.in/ebittleman/go-servicemanager.v0

This library is created as an experiment to see how a ServiceLocator type pattern holds up in a strictly typed environment. Dependecy Injection and the Factory Pattern are tools that are essential when rapidly building a system with changing requirements. Binding Named services to factories allows us to easily change the concrete implementation of a service and gives us the opportunity to compose and inject any other services registered to the system


License
MIT
Install
go get gopkg.in/ebittleman/go-servicemanager.v0

Documentation

Golang Service Manager

Build Status

Super basic service manager with a bit of dependency injection. Might be kind of usless in Go, but its still fun to mess with the pattern

DOWNLOAD

go get -u gopkg.in/ebittleman/go-servicemanager.v0

Testing

go test -v gopkg.in/ebittleman/go-servicemanager.v0/...

Links