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
- Host: GitHub
- URL: https://github.com/steinfletcher/functional-dependency-injection-golang-example
- Owner: steinfletcher
- Created: 2018-08-15T07:51:40.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-15T07:52:17.000Z (almost 8 years ago)
- Last Synced: 2025-03-28T10:12:52.296Z (about 1 year ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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