Dependency injection for Go