Dependency injection in Golang using higher order functions | Hacker News Reader