Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Latest commit

 

History

History
54 lines (35 loc) · 952 Bytes

CONTRIBUTING.md

File metadata and controls

54 lines (35 loc) · 952 Bytes

Contributing

By participating to this project, you agree to abide our code of conduct.

Setup your machine

example is written in Go.

Prerequisites are:

Clone example from source into $GOPATH:

$ go get github.com/caarlos0/example
$ cd $GOPATH/src/github.com/caarlos0/example

Install the build and lint dependencies:

$ make setup

A good way of making sure everything is all right is running the test suite:

$ make test

Test your change

You can create a branch for your changes and try to build from the source as you go:

$ go build

When you are satisfied with the changes, we suggest you run:

$ make ci

Which runs all the linters and tests.

Submit a pull request

Push your branch to your example fork and open a pull request against the master branch.