A simple DependencyInjectionContainer for Golang.
go get github.com/mappymappy/godiva/lib/godiva
container := CreateGodivaContainer()
container.Register("chocolate",func (c *Container) (interface{}, error) { return Chocolate{})
chocolate := container.Create("chocolate",false)
girl.eat(chocolate)
Copyright (c) 2016 marnie_ms4
Released under the MIT license
http://opensource.org/licenses/mit-license.php