Dependency Injection Examples Here you can find the examples of three basic approaches for dependency injection in Go: manual (cmd/case1) generation of the code with Google Wire (cmd/case2) reflection with Uber Dig (cmd/case3)