# README
This is more or less a service locator / DI system.
I'm not sure if this is the way forward when it comes to idiomatic golang. I haven't seen this is larger projects so maybe the need for this is not there.
# Functions
NewContainer will create a new container.
# Variables
Instance is the main bitmaelum service container.
# Structs
ServiceDefinition is a single service definition.
Type is the main container structure holding all service.
# Interfaces
Container is the interface each container needs to implement.
# Type aliases
ServiceFunc is the function that needs to be resolved in the definition.
ServiceType defines what kind of service it is (singleton, or new instance on each call).