Verified Commit c5e47a8d authored by Marco Kellershoff's avatar Marco Kellershoff 🤸
Browse files

Add explanation on why we use `gofmt`

This commit adds an explanation on why we chose to enforce the usage of
`gofmt` to the ``
parent 6f1dcc10
......@@ -48,6 +48,16 @@ To pass the *linting* rules, your code has to pass the following checks:
- [golint][golint]
- have at least 90% code coverage
### `gofmt`
You have to pass the `gofmt` default rules, so we all have a consistent
code-style. This helps to minimize the possiblity of merge conflicts and helps
to ease in code-reviews.
You should really consider running `gofmt` each time you save your files.
There are excellent plugins that helps to ease the pain,
like the wonderful [vim-go][vim-go-github] plugin for *Vim* and *NeoVim*.
## Example Unit-Tests
### Example Goblin Unit-Test
......@@ -98,4 +108,5 @@ These dependencies are automatically resolved when you install the
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment