Dependency injection for go