Example code for blog post: https://stein.wtf/posts/2019-03-12/inject/
go run main.go
curl localhost:8000/user
Dependency injection example using higher order functions
Go
Example code for blog post: https://stein.wtf/posts/2019-03-12/inject/
go run main.go
curl localhost:8000/user