Add template for monorepo of go microservices #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a template for a monorepo-based Go Microservices project. It includes the following:
I also added in some entries to the wiki to help direct users to the template.
Overview of added files
Because the diff looks so massive, here's an outline of the included files under
practices/development/examples/go-microservice-monorepo
so you can figure out where to start:doc
directory contains documentation on best practices, the layout of the repo, architectural patterns, API conventions, and more. Basically a handbook for adding code to this template.commonlib
directory contains a set of re-usable components that can be composed into microservices in the monorepo.microsvc
directory contains the code for the example microservicevendor
directory contains vendored dependencies which are checked into the repository. This allows one to build the code without an internet connection, which may be useful for requirements on certain projects. You can probably avoid looking over anything in this directory.