#This README contains the steps necessary to get our application up and running.
- Quick Summary
- Version
- Configuration
- Dependencies
- Database configuration
- How to run tests
- Deployment instructions
- Writing tests
- Code review
- Other guidelines
- Repo owner or admin
- Other community or team contact
Debugging issues by tracking logs
There are 4 log channels including console, file, cloudwatch, logstash
Set LOG_DESTINATIONS variable in the .env
file
ex: export LOG_DESTINATIONS=file,cloudwatch
If you perform any change in the interfaces in our repository, you need to regenerate the mocks.
make mock
sudo snap install golangci-lint
Config .golangci.yaml
file to add or remove lint options
To execute locally run the following command
make lint
sudo snap install pre-commit --classic
Config .pre-commit-config.yaml file to enable or disable pre-commit hook
Execute the following command to format the repository to match the standard format from gopls
.
make format
Execute the following command to run the tests in the repository and get a summary of the test results.
make test