mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
minor
Former-commit-id: a4030ed3253a730b8283b9f1880b129b54b96774
This commit is contained in:
33
README.md
33
README.md
@@ -1,22 +1,30 @@
|
||||
# News
|
||||
<!-- # News
|
||||
|
||||
 Iris version **12.1.7** has been [released](HISTORY.md#mo-10-february-2020--v1217)!
|
||||
|
||||
 The official [Iris Command Line Interface](https://github.com/kataras/iris-cli) will soon be near you in 2020!
|
||||
|
||||
 Support your favorite web framework through [Github Sponsors Program](https://github.com/sponsors/kataras)!
|
||||
|
||||
 Support your favorite web framework through [Github Sponsors Program](https://github.com/sponsors/kataras)! -->
|
||||
# Iris Web Framework <a href="README_ZH.md"><img width="20px" src="https://iris-go.com/images/flag-china.svg?v=10" /></a> <a href="README_GR.md"><img width="20px" src="https://iris-go.com/images/flag-greece.svg?v=10" /></a> <a href="README_ES.md"><img width="20px" src="https://iris-go.com/images/flag-spain.png" /></a> <a href="README_KO.md"><img width="20px" src="https://iris-go.com/images/flag-south-korea.svg" /></a> <a href="README_FA.md"><img width="20px" src="https://iris-go.com/images/flag-iran.svg" /></a> <a href="README_RU.md"><img width="20px" src="https://iris-go.com/images/flag-russia.svg" /></a>
|
||||
|
||||
[](https://travis-ci.org/kataras/iris) [](https://goreportcard.com/report/github.com/kataras/iris)<!--[](https://godoc.org/github.com/kataras/iris)--> [](https://github.com/kataras/iris/tree/master/_examples) [](https://gitter.im/iris_go/community) [](https://www.paypal.me/kataras) <!-- [](https://github.com/kataras/iris/releases) -->
|
||||
[](https://travis-ci.org/kataras/iris) [](https://app.fossa.io/projects/git%2Bgithub.com%2Fkataras%2Firis?ref=badge_shield)<!--[](https://goreportcard.com/report/github.com/kataras/iris)--><!--[](https://godoc.org/github.com/kataras/iris)--> [](https://github.com/kataras/iris/tree/master/_examples) [](https://gitter.im/iris_go/community)<!--[](https://www.paypal.me/kataras)--><!-- [](https://github.com/kataras/iris/releases) -->
|
||||
|
||||
Iris is a fast, simple yet fully featured and very efficient web framework for Go. It provides a beautifully expressive and easy to use foundation for your next website or API.
|
||||
|
||||
Learn what [others saying about Iris](https://iris-go.com/testimonials/) and **[star](https://github.com/kataras/iris/stargazers)** this open-source project to support its potentials.
|
||||
<!-- Why choose Iris instead?
|
||||
|
||||
[](https://iris-go.com/testimonials/)
|
||||
- https://github.com/kataras/iris/issues/1396
|
||||
- https://blog.usejournal.com/top-6-web-frameworks-for-go-as-of-2017-23270e059c4b -->
|
||||
|
||||
## Learning Iris
|
||||
<p align="center">
|
||||
<img src="https://iris-go.com/images/logo-sm.png">
|
||||
<br/>
|
||||
<a href="https://iris-go.com/testimonials/"><img src="https://media.giphy.com/media/j5WLmtvwn98VPrm7li/giphy.gif"></a>
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
## 📖 Learning Iris
|
||||
|
||||
<details>
|
||||
<summary>Quick start</summary>
|
||||
@@ -69,22 +77,21 @@ For a more detailed technical documentation you can head over to our [godocs](ht
|
||||
|
||||
You can [request](https://bit.ly/iris-req-book) a PDF version and online access of the **E-Book** today and be participated in the development of Iris.
|
||||
|
||||
## Contributing
|
||||
## 🙌 Contributing
|
||||
|
||||
We'd love to see your contribution to the Iris Web Framework! For more information about contributing to the Iris project please check the [CONTRIBUTING.md](CONTRIBUTING.md) file.
|
||||
|
||||
[List of all Contributors](https://github.com/kataras/iris/graphs/contributors)
|
||||
|
||||
## Security Vulnerabilities
|
||||
## 🛡 Security Vulnerabilities
|
||||
|
||||
If you discover a security vulnerability within Iris, please send an e-mail to [iris-go@outlook.com](mailto:iris-go@outlook.com). All security vulnerabilities will be promptly addressed.
|
||||
|
||||
## License
|
||||
## 📝 License
|
||||
|
||||
This project is licensed under the [BSD 3-clause license](LICENSE), just like the Go project itself.
|
||||
|
||||
The project name "Iris" was inspired by the Greek mythology.
|
||||
<!-- ## Stargazers over time
|
||||
|
||||
## Stargazers over time
|
||||
|
||||
[](https://starchart.cc/kataras/iris)
|
||||
[](https://starchart.cc/kataras/iris) -->
|
||||
|
||||
@@ -729,6 +729,7 @@ func (api *APIBuilder) Reset() Party {
|
||||
api.middleware = api.middleware[0:0]
|
||||
api.doneHandlers = api.doneHandlers[0:0]
|
||||
api.handlerExecutionRules = ExecutionRules{}
|
||||
api.routeRegisterRule = RouteOverride
|
||||
return api
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ type ExecutionRules struct {
|
||||
|
||||
func applyExecutionRules(rules ExecutionRules, begin, done, main *context.Handlers) {
|
||||
if !rules.Begin.Force && !rules.Done.Force && !rules.Main.Force {
|
||||
return // do not proceed and spend buld-time here if nothing changed.
|
||||
return // do not proceed and spend build-time here if nothing changed.
|
||||
}
|
||||
|
||||
beginOK := rules.Begin.apply(begin)
|
||||
|
||||
Reference in New Issue
Block a user