Coding Rules

Go code

  • gofmt must be applied

  • go vet must pass without any warning

  • golint must pass without any warning

Imports

Imports are splitted in 3 groups, separated by empty lines.

  • builtin packages

  • 3rd party packages

  • xbus packages

Commits

  • First line shoud not exceed 50 characters

  • Lines should not exceed 79 characters