webhook/vendor/github.com/go-chi/chi/v5/CONTRIBUTING.md
Cameron Moore 0fa8bbf710
Update GH actions and dependencies (#681)
* Update go-chi dependency to v5

* Update gofrs/uuid dependency to v5

* Update gorilla/mux dependency to v1.8.1

* Update go-humanize dependency to v1.0.1

* Update mxj dependency to v2.7.0

* Update fsnotify dependency to v1.7.0

* Update Go versions in GH build workflow

* Update gopkg.in/yaml.v2 indirect dependency to v2.4.0

* Bump GH actions
2024-04-13 12:27:49 +02:00

1 KiB

Contributing

Prerequisites

  1. Install Go.

  2. Download the sources and switch the working directory:

    go get -u -d github.com/go-chi/chi
    cd $GOPATH/src/github.com/go-chi/chi
    

Submitting a Pull Request

A typical workflow is:

  1. Fork the repository. This tip maybe also helpful.
  2. Create a topic branch.
  3. Add tests for your change.
  4. Run go test. If your tests pass, return to the step 3.
  5. Implement the change and ensure the steps from the previous step pass.
  6. Run goimports -w ., to ensure the new code conforms to Go formatting guideline.
  7. Add, commit and push your changes.
  8. Submit a pull request.