Changes in this release:
- Routing has been moved to the
chipackage to allow for easy router swapping if chi is not desired - A Database instance is created in
main.goinstead ofhandlers.go, then passed to the router
Note:
- The example counter service may panic once or twice on a failed connection to the database with the ./bootstrap_example.sh script; this is due to the counter service coming up before the database service is fully initialized. You can just ignore the panics, because it will continue to panic-recover until it successfully connects.