A "zero" web service written in Go. This service respresents an example for this article: Готовим сборку Go-приложения в продакшн.
- Use
make vendorto update dependencies. - Use
make checkto check if there are no problems in the source code. - Use
make buildto prepare a build.
Yes, there are a lot of configuration files here 🤓
Makefilecontains popular instructions to check and build the source code.Gopkg.tomlwas made automatically by dep, soGopkg.lockdid. It contains configuration of external dependecies. If you need to know more about dependencies and dep, please, watch this video.vendoris a directory to store external dependencies, there is only httrouter here because it is my only dependency in this project. If I want to have production-readiness, I prefer to store this directory in git..travis.ymldescribes CI configuration for Travis CI.- And finally
app.goandversion.gocontain the source code.