telegraf/docs/developers/CODE_STYLE.md

9 lines
326 B
Markdown
Raw Normal View History

2021-04-23 07:51:21 +08:00
# Code Style
2021-04-23 07:51:21 +08:00
Code is required to be formatted using `gofmt`, this covers most code style
requirements. It is also highly recommended to use `goimports` to
automatically order imports.
Please try to keep lines length under 80 characters, the exact number of
2021-04-23 07:51:21 +08:00
characters is not strict but it generally helps with readability.