.
|____contact.go
|____contact__test.go
|____config
| |____config.go
|____models
| |____models.go
|____helpers
| |____cache.go
| |____mongodb.go
|____go.sum
|____go.mod
|____config.yaml
|____README.md
|____.air.conf
|____.gitignore
TBD
Fork the repo and pull it to your workstation.
A config.yaml
file is needed to run the application. You'll need to install Status Bot
for updates in slack. Click the button below to add the Status Bot
to your Slack workspace.
Example YAML configuration
---
COLLECTION: contacts
DB: phonebook
TESTDB: phonebook-test
MONGODB-URI: "mongodb://localhost:27017"
PORT: "8080"
SLACK-HOOK: <Your Slack-Webhook-URL goes here>
go test -v
Current Test Coverage: 51.4%
Kunal Kundu @tinfoil-knight
Matthias @qarchmage for fixing race condition in database while testing.
TBD