2020-02-16 10:14:35 +01:00
# News
2019-12-31 23:42:44 +01:00
2020-04-29 20:59:36 +02:00
> This is the under-development branch. Stay tuned for the upcoming release [v12.2.0](HISTORY.md#Next).
2020-02-16 10:14:35 +01:00
![](https://iris-go.com/images/release.png) Iris version **12.1.8** has been [released ](HISTORY.md#su-16-february-2020--v1218 )!
2019-07-22 11:05:16 +02:00
2020-01-05 17:27:21 +01:00
![](https://iris-go.com/images/cli.png) The official [Iris Command Line Interface ](https://github.com/kataras/iris-cli ) will soon be near you in 2020!
2019-12-25 11:11:45 +01:00
2020-02-16 10:14:35 +01:00
![](https://iris-go.com/images/sponsor.png) Support your favorite web framework through [Github Sponsors Program ](https://github.com/sponsors/kataras )!
2020-04-29 20:59:36 +02:00
# Iris Web Framework <a href="README_GR.md"><img width="20px" src="https://iris-go.com/images/flag-greece.svg" /></a> <a href="README_FR.md"><img width="20px" src="https://iris-go.com/images/flag-france.svg" /></a> <a href="README_ZH.md"><img width="20px" src="https://iris-go.com/images/flag-china.svg" /></a> <a href="README_ES.md"><img width="20px" src="https://iris-go.com/images/flag-spain.png" /></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> <a href="README_KO.md"><img width="20px" src="https://iris-go.com/images/flag-south-korea.svg?v=12" /></a>
2019-11-05 21:12:26 +01:00
2020-06-14 14:36:24 +02:00
[![build status ](https://img.shields.io/travis/kataras/iris/master.svg?style=for-the-badge&logo=travis )](https://travis-ci.org/kataras/iris) [![FOSSA Status ](https://img.shields.io/badge/LICENSE%20SCAN-PASSING❤️ -CD2956?style=for-the-badge&logo=fossa )](https://app.fossa.io/projects/git%2Bgithub.com%2Fkataras%2Firis?ref=badge_shield)<!--[![report card](https://img.shields.io/badge/report%20card-a%2B-ff3333.svg?style=for-the-badge)](https://goreportcard.com/report/github.com/kataras/iris)--><!--[![godocs](https://img.shields.io/badge/go-%20docs-488AC7.svg?style=for-the-badge)](https://pkg.go.dev/github.com/kataras/iris/v12@v12.2.0)--> [![view examples ](https://img.shields.io/badge/learn%20by-examples-0C8EC5.svg?style=for-the-badge&logo=go )](https://github.com/kataras/iris/tree/master/_examples) [![chat ](https://img.shields.io/gitter/room/iris_go/community.svg?color=7E18DD&logo=gitter&style=for-the-badge )](https://gitter.im/iris_go/community)<!--[![donate on PayPal](https://img.shields.io/badge/support-PayPal-blue.svg?style=for-the-badge)](https://www.paypal.me/kataras)--><!-- [![release ](https://img.shields.io/badge/release%20-v12.0-0077b3.svg?style=for-the-badge )](https://github.com/kataras/iris/releases) -->
2018-07-24 03:33:53 +02:00
2020-02-11 03:02:06 +01:00
< a href = "https://iris-go.com" > < img align = "right" src = "https://iris-go.com/images/logo-w169.png" > < / a >
2018-07-24 03:33:53 +02:00
2020-02-11 02:55:06 +01:00
Iris is a fast, simple yet fully featured and very efficient web framework for Go.
2020-02-11 02:24:57 +01:00
2020-02-11 02:55:06 +01:00
It provides a beautifully expressive and easy to use foundation for your next website or API.
2018-07-24 03:33:53 +02:00
2020-02-11 02:55:06 +01:00
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.
2019-12-13 22:06:18 +01:00
2020-02-11 02:55:06 +01:00
[![ ](https://media.giphy.com/media/j5WLmtvwn98VPrm7li/giphy.gif )](https://iris-go.com/testimonials/)
2020-02-11 02:24:57 +01:00
2020-04-29 20:59:36 +02:00
[![Benchmarks: Apr 2, 2020 at 12:13pm (UTC) ](https://iris-go.com/images/benchmarks.svg )](https://github.com/kataras/server-benchmarks)
2020-03-12 00:51:21 +01:00
2020-02-11 02:24:57 +01:00
## 📖 Learning Iris
2019-07-22 04:46:30 +02:00
< details >
2019-07-28 22:20:56 +02:00
< summary > Quick start< / summary >
2019-07-22 04:46:30 +02:00
2018-07-25 05:14:33 +02:00
```sh
2020-01-05 17:27:21 +01:00
# https://github.com/kataras/iris/wiki/Installation
$ go get github.com/kataras/iris/v12@latest
2019-06-02 16:49:45 +02:00
# assume the following code in example.go file
2018-07-25 05:14:33 +02:00
$ cat example.go
```
```go
package main
2019-10-25 00:27:02 +02:00
import "github.com/kataras/iris/v12"
2018-07-25 05:14:33 +02:00
func main() {
2020-02-11 02:55:06 +01:00
app := iris.New()
2018-07-25 05:14:33 +02:00
app.Get("/ping", func(ctx iris.Context) {
ctx.JSON(iris.Map{
"message": "pong",
})
})
2019-07-22 11:05:16 +02:00
2020-02-11 02:55:06 +01:00
app.Listen(":8080")
2018-07-25 05:14:33 +02:00
}
```
2019-07-22 11:05:16 +02:00
```sh
# run example.go and
# visit http://localhost:8080/ping on browser
2018-07-25 05:14:33 +02:00
$ go run example.go
```
2019-07-22 04:46:30 +02:00
> Routing is powered by [muxie](https://github.com/kataras/muxie), the most powerful and fastest trie-based software written in Go.
< / details >
Iris contains extensive and thorough ** [wiki ](https://github.com/kataras/iris/wiki )** making it easy to get started with the framework.
2019-12-25 11:11:45 +01:00
<!-- ![](https://media.giphy.com/media/Ur8iqy9FQfmPuyQpgy/giphy.gif) -->
2019-11-14 19:16:34 +01:00
2020-06-14 14:36:24 +02:00
For a more detailed technical documentation you can head over to our [godocs ](https://pkg.go.dev/github.com/kataras/iris/v12@v12.2.0 ). And for executable code you can always visit the [\_examples ](_examples/ ) repository's subdirectory.
2019-07-22 03:39:14 +02:00
2019-07-22 04:46:30 +02:00
### Do you like to read while traveling?
2019-07-22 03:39:14 +02:00
2020-04-29 20:59:36 +02:00
< a href = "https://bit.ly/iris-req-book" > < img alt = "Book cover" src = "https://iris-go.com/images/iris-book-cover-sm.jpg?v=12" / > < / a >
2019-07-30 17:02:02 +02:00
2020-06-15 07:05:25 +02:00
[![follow author ](https://img.shields.io/twitter/follow/makismaropoulos?color=ee7506&logoColor=ee7506&style=for-the-badge )](https://twitter.com/intent/follow?screen_name=makismaropoulos)
2019-07-22 03:39:14 +02:00
2019-10-30 12:57:27 +01:00
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.
2018-07-24 03:33:53 +02:00
2020-02-11 02:24:57 +01:00
## 🙌 Contributing
2018-07-24 03:33:53 +02:00
2019-07-22 04:46:30 +02:00
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 )
2020-02-11 02:24:57 +01:00
## 🛡 Security Vulnerabilities
2019-07-22 04:46:30 +02:00
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.
2020-02-11 02:24:57 +01:00
## 📝 License
2018-07-24 03:33:53 +02:00
2020-02-03 09:50:58 +01:00
This project is licensed under the [BSD 3-clause license ](LICENSE ), just like the Go project itself.
2019-07-22 04:46:30 +02:00
2020-02-03 09:50:58 +01:00
The project name "Iris" was inspired by the Greek mythology.
2020-02-11 02:24:57 +01:00
<!-- ## Stargazers over time
2019-11-19 22:36:18 +01:00
2020-02-11 02:24:57 +01:00
[![Stargazers over time ](https://starchart.cc/kataras/iris.svg )](https://starchart.cc/kataras/iris) -->