https://github.com/janstuemmel/go-web-example
go http lib example
https://github.com/janstuemmel/go-web-example
dependency-injection go http
Last synced: 11 months ago
JSON representation
go http lib example
- Host: GitHub
- URL: https://github.com/janstuemmel/go-web-example
- Owner: janstuemmel
- Created: 2018-01-25T01:08:09.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-26T21:15:39.000Z (about 8 years ago)
- Last Synced: 2025-02-17T22:32:42.503Z (about 1 year ago)
- Topics: dependency-injection, go, http
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/janstuemmel/go-web-example)
# go web example
Code for learning go
## Test
```sh
ginkgo -r # run tests
# or
go test -v ./...
```
## References
* [Blog: Testing HTTP Handlers](http://blog.questionable.services/article/testing-http-handlers-go/)
* [Blog: Writing testable apps in go](http://relistan.com/writing-testable-apps-in-go/)
* [Applied go: Dependency Injection](https://appliedgo.net/di/)
* [Medium: Dependency injection](https://medium.com/@zach_4342/dependency-injection-in-golang-e587c69478a8)