An open API service indexing awesome lists of open source software.

https://github.com/steinfletcher/functional-dependency-injection-golang-example

An example of how to do dependency injection in golang
https://github.com/steinfletcher/functional-dependency-injection-golang-example

Last synced: 10 months ago
JSON representation

An example of how to do dependency injection in golang

Awesome Lists containing this project

README

          

# Functional Dependency Injection in Golang

A simple technique for dependency injection without frameworks using higher order functions

go run main.go
curl http://localhost:8080/user/123