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.
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 [email protected].
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.
- Create a new issue with a feature suggestion to discuss it further.
- Join our slack channel (sign up here)
- Fill in the required template
- Follow the Golang Styleguide
- Document new code based on the Documentation Styleguide
- End all files with a newline
- 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
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 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.