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

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

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/janstuemmel/go-web-example.svg?branch=master)](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)