Go coding guidelines

Zabbix Go coding guidelines are split into two parts:

  • Code style outlining specific Zabbix preferred syntax, format and style of Go code.
  • Development process defines the process of contributing Go code to Zabbix codebases.

Purpose of coding guidelines

Code style guidelines describe a standardized set of conventions for writing and formatting code. Consistent coding practices enhance collaboration among developers, making it easier to understand and maintain code across teams. Additionally, code style guidelines promote code readability and reduce the likelihood of errors, ultimately improving the overall quality and efficiency of software development within the organization. Being an open-source product, code quality is an important aspect since it has an impact on Zabbix reputation and credibility among users and potential contributors.

Our current strategy involves addressing code quality issues as they arise during various tasks. However, a significant drawback exists since approach to quality may be different, clear guidelines for the development process and coding style must be established and followed by development teams.