Skip to content

Latest commit

 

History

History
66 lines (40 loc) · 2.56 KB

CONTRIBUTING.md

File metadata and controls

66 lines (40 loc) · 2.56 KB

Contributing to Event Horizon

First off, thanks for taking the time to contribute!

The following is a set of guidelines for contributing to Event Horizon and its packages, which are hosted in the Looplab Organization on GitHub. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.

Table Of Contents

Code of Conduct

How Can I Contribute?

Styleguides

Code of Conduct

This project and everyone participating in it is governed by the Event Horizon Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to looplab@github.com.

How Can I Contribute?

Reporting Bugs

If you find a bug report it by creating a new Github issue.

Note: If you find a Closed issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one.

Suggesting Enhancements

  • Create a new issue with a feature suggestion to discuss it further.
  • Join our slack channel (sign up here)

Pull Requests

Styleguides

Git Commit Messages

  • Use the present tense ("Add feature" not "Added feature")
  • Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
  • Limit the first line to 72 characters or less
  • Reference issues and pull requests liberally after the first line

Golang Styleguide

All Golang code should adhere to Go Code Review Comments. Package imports should be ordered with a blank line between each block:

  • stdlib
  • 3rd party
  • internal

Documentation Styleguide

Documentation should be provided in the Godoc format in the source files for all public interfaces. Other documentation should be written as Markdown files in the docs folder.