mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-05 21:28:45 +08:00
c296f4fed6
* When route cannot be found on chi, go to macaron * Stick chi version to 1.5.0 * Follow router log setting
1.0 KiB
Vendored
1.0 KiB
Vendored
Contributing
Prerequisites
-
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:
- Fork the repository. This tip maybe also helpful.
- Create a topic branch.
- Add tests for your change.
- Run
go test
. If your tests pass, return to the step 3. - Implement the change and ensure the steps from the previous step pass.
- Run
goimports -w .
, to ensure the new code conforms to Go formatting guideline. - Add, commit and push your changes.
- Submit a pull request.