Package compare
provides customizable functionality for comparing values.
Before committing any changes, make sure to run make precommit
. It does the following:
- Make sure that
Gopkg.lock
and thevendor
directory are up to date. For this, you'll need to install dep if you haven't already. - Concurrently run a bunch of linters including go vet and megacheck.
- Run all tests.
- Save test coverage information to a file, then open a browser window showing the covered (green), uncovered (red), and uninstrumented (grey) source. You can find more information under "Viewing the results" here.