From 535ef453f071aca8aa4df8cda7534c3137fa66a2 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 13:30:54 +0430 Subject: [PATCH 01/31] . Former-commit-id: 1297563bdd627ca34c4182f29e784a470a102f77 --- README_FA.md | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 README_FA.md diff --git a/README_FA.md b/README_FA.md new file mode 100644 index 00000000..b90b08b6 --- /dev/null +++ b/README_FA.md @@ -0,0 +1,81 @@ + + +# Iris + +[![build status](https://img.shields.io/travis/kataras/iris/master.svg?style=for-the-badge)](https://travis-ci.org/kataras/iris) [![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) [![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/tree/master/_examples) [![chat](https://img.shields.io/gitter/room/iris_go/community.svg?color=blue&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community) [![release](https://img.shields.io/badge/release%20-v11.2-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) + +
+ +

آیریس سریع ترین و ساده ترین و موثرترین فریمورک وب در زبان GO میباشد

+ +Learn what [others say about Iris](https://iris-go.com/testimonials/) and **star** this github repository. + +> Version 11.2 **released!** + +[![https://www.facebook.com/iris.framework/posts/3276606095684693](https://iris-go.com/images/iris-112-released.png)](https://www.facebook.com/iris.framework/posts/3276606095684693) + +## Learning Iris + +
+Quick start + +```sh +# assume the following code in example.go file +$ cat example.go +``` + +```go +package main + +import "github.com/kataras/iris" + +func main() { + app := iris.Default() + app.Get("/ping", func(ctx iris.Context) { + ctx.JSON(iris.Map{ + "message": "pong", + }) + }) + + app.Run(iris.Addr(":8080")) +} +``` + +```sh +# run example.go and +# visit http://localhost:8080/ping on browser +$ go run example.go +``` + +> Routing is powered by [muxie](https://github.com/kataras/muxie), the most powerful and fastest trie-based software written in Go. + +
+ +Iris contains extensive and thorough **[wiki](https://github.com/kataras/iris/wiki)** making it easy to get started with the framework. + +For a more detailed technical documentation you can head over to our [godocs](https://godoc.org/github.com/kataras/iris). And for executable code you can always visit the [_examples](_examples/) repository's subdirectory. + +### Do you like to read while traveling? + +
Book cover + +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 + +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 + +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 + +The project name "Iris" was inspired by the Greek mythology. + +Iris Web Framework is free and open-source software licensed under the [3-Clause BSD License](LICENSE). + +
\ No newline at end of file From 81872c2f5ae027ee152a8cd529f183807de322ec Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 13:32:12 +0430 Subject: [PATCH 02/31] . Former-commit-id: e02827a38f5196128b8ba16d2de99959e5f3ad0d --- README_FA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index b90b08b6..90b3b025 100644 --- a/README_FA.md +++ b/README_FA.md @@ -1,10 +1,10 @@ +
# Iris [![build status](https://img.shields.io/travis/kataras/iris/master.svg?style=for-the-badge)](https://travis-ci.org/kataras/iris) [![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) [![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/tree/master/_examples) [![chat](https://img.shields.io/gitter/room/iris_go/community.svg?color=blue&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community) [![release](https://img.shields.io/badge/release%20-v11.2-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) -

آیریس سریع ترین و ساده ترین و موثرترین فریمورک وب در زبان GO میباشد

From 612c6eb08018391bbaac1599bf9e79e724491455 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 13:32:59 +0430 Subject: [PATCH 03/31] . Former-commit-id: 3fd7c515b3bf278e1b688678de47482be56b66a3 --- README_FA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index 90b3b025..e19ee9ea 100644 --- a/README_FA.md +++ b/README_FA.md @@ -1,7 +1,7 @@
-# Iris +# آیریس [![build status](https://img.shields.io/travis/kataras/iris/master.svg?style=for-the-badge)](https://travis-ci.org/kataras/iris) [![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) [![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/tree/master/_examples) [![chat](https://img.shields.io/gitter/room/iris_go/community.svg?color=blue&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community) [![release](https://img.shields.io/badge/release%20-v11.2-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) From 8d869b16f1c946e16e442d863d1d9b33bc642c88 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 13:33:28 +0430 Subject: [PATCH 04/31] . Former-commit-id: 370aef52d0fcb0951fdf1cd5ae17ab8999374a1f --- README_FA.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index e19ee9ea..2e1d9b40 100644 --- a/README_FA.md +++ b/README_FA.md @@ -1,7 +1,8 @@
-# آیریس +# آیریس + [![build status](https://img.shields.io/travis/kataras/iris/master.svg?style=for-the-badge)](https://travis-ci.org/kataras/iris) [![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) [![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/tree/master/_examples) [![chat](https://img.shields.io/gitter/room/iris_go/community.svg?color=blue&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community) [![release](https://img.shields.io/badge/release%20-v11.2-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) From 3ae621dfb6a56ffa5f61e6fa764446cfd761a776 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 13:34:12 +0430 Subject: [PATCH 05/31] . Former-commit-id: aa75d5dbc8724b37d7f72a55cfb625b1278dab30 --- README_FA.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README_FA.md b/README_FA.md index 2e1d9b40..e19ee9ea 100644 --- a/README_FA.md +++ b/README_FA.md @@ -1,8 +1,7 @@
-# آیریس - +# آیریس [![build status](https://img.shields.io/travis/kataras/iris/master.svg?style=for-the-badge)](https://travis-ci.org/kataras/iris) [![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) [![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/tree/master/_examples) [![chat](https://img.shields.io/gitter/room/iris_go/community.svg?color=blue&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community) [![release](https://img.shields.io/badge/release%20-v11.2-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) From e37b6874166ee7aebe9b04ce6d2a49e448d6e895 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 13:36:14 +0430 Subject: [PATCH 06/31] . Former-commit-id: 95aff7617896faa44fae76c10f4d30476ca57949 --- README_FA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index e19ee9ea..571f6477 100644 --- a/README_FA.md +++ b/README_FA.md @@ -6,7 +6,7 @@ [![build status](https://img.shields.io/travis/kataras/iris/master.svg?style=for-the-badge)](https://travis-ci.org/kataras/iris) [![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) [![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/tree/master/_examples) [![chat](https://img.shields.io/gitter/room/iris_go/community.svg?color=blue&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community) [![release](https://img.shields.io/badge/release%20-v11.2-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) -

آیریس سریع ترین و ساده ترین و موثرترین فریمورک وب در زبان GO میباشد

+

آیریس سریع ترین و ساده ترین و موثرترین فریمورک وب در زبان GO میباشد.

Learn what [others say about Iris](https://iris-go.com/testimonials/) and **star** this github repository. From 2f1e1d0f280c74a28c6b7160132a1879440857b6 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 13:40:31 +0430 Subject: [PATCH 07/31] . Former-commit-id: 7444568a1a42b65615a23cb1a091466bd65803f4 --- README_FA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index 571f6477..affa27c4 100644 --- a/README_FA.md +++ b/README_FA.md @@ -6,7 +6,7 @@ [![build status](https://img.shields.io/travis/kataras/iris/master.svg?style=for-the-badge)](https://travis-ci.org/kataras/iris) [![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) [![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/tree/master/_examples) [![chat](https://img.shields.io/gitter/room/iris_go/community.svg?color=blue&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community) [![release](https://img.shields.io/badge/release%20-v11.2-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) -

آیریس سریع ترین و ساده ترین و موثرترین فریمورک وب در زبان GO میباشد.

+

آیریس سریع ترین و ساده ترین و موثرترین فریمورک وب در زبان GO میباشد. آیریس ساختاری بسیار زیبا و کارآمد را فراهم کرده است تا شما از آن برای پروژه های بعدی تان استفاده کنید. .

Learn what [others say about Iris](https://iris-go.com/testimonials/) and **star** this github repository. From be413f52fb57d71af0c4c9e457920b57c2d11945 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 13:42:34 +0430 Subject: [PATCH 08/31] . Former-commit-id: 19af071010b50ea2d03fe07aa08770a383a0aa7b --- README_FA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index affa27c4..a2bb6ccf 100644 --- a/README_FA.md +++ b/README_FA.md @@ -6,7 +6,7 @@ [![build status](https://img.shields.io/travis/kataras/iris/master.svg?style=for-the-badge)](https://travis-ci.org/kataras/iris) [![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) [![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/tree/master/_examples) [![chat](https://img.shields.io/gitter/room/iris_go/community.svg?color=blue&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community) [![release](https://img.shields.io/badge/release%20-v11.2-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) -

آیریس سریع ترین و ساده ترین و موثرترین فریمورک وب در زبان GO میباشد. آیریس ساختاری بسیار زیبا و کارآمد را فراهم کرده است تا شما از آن برای پروژه های بعدی تان استفاده کنید. .

+آیریس سریع ترین و ساده ترین و موثرترین فریمورک وب در زبان GO میباشد. آیریس ساختاری بسیار زیبا و کارآمد را فراهم کرده است تا شما از آن برای پروژه های بعدی تان استفاده کنید. . Learn what [others say about Iris](https://iris-go.com/testimonials/) and **star** this github repository. From b18fb82fec3651f1d0cc97fcfb9fdc8d7f0a6426 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 13:48:42 +0430 Subject: [PATCH 09/31] . Former-commit-id: d8ff1e375996c3f9d85110969c8ee19788fca430 --- README_FA.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README_FA.md b/README_FA.md index a2bb6ccf..25c4b93c 100644 --- a/README_FA.md +++ b/README_FA.md @@ -2,13 +2,14 @@ # آیریس
+
[![build status](https://img.shields.io/travis/kataras/iris/master.svg?style=for-the-badge)](https://travis-ci.org/kataras/iris) [![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) [![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/tree/master/_examples) [![chat](https://img.shields.io/gitter/room/iris_go/community.svg?color=blue&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community) [![release](https://img.shields.io/badge/release%20-v11.2-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) - +
آیریس سریع ترین و ساده ترین و موثرترین فریمورک وب در زبان GO میباشد. آیریس ساختاری بسیار زیبا و کارآمد را فراهم کرده است تا شما از آن برای پروژه های بعدی تان استفاده کنید. . -Learn what [others say about Iris](https://iris-go.com/testimonials/) and **star** this github repository. +برای این که بدانید دیگران در مورد آیریس چه می گویند لطفا در این لینک کلیک کنید [others say about Iris](https://iris-go.com/testimonials/) > Version 11.2 **released!** From d8c3fa2c5a304ee1b487d6dbe8bb692bfb2d518b Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:07:49 +0430 Subject: [PATCH 10/31] . Former-commit-id: d9b1519b0c54ae64079d70c4d4f08a09c9980bd8 --- README_FA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index 25c4b93c..b453891f 100644 --- a/README_FA.md +++ b/README_FA.md @@ -9,7 +9,7 @@ آیریس سریع ترین و ساده ترین و موثرترین فریمورک وب در زبان GO میباشد. آیریس ساختاری بسیار زیبا و کارآمد را فراهم کرده است تا شما از آن برای پروژه های بعدی تان استفاده کنید. . -برای این که بدانید دیگران در مورد آیریس چه می گویند لطفا در این لینک کلیک کنید [others say about Iris](https://iris-go.com/testimonials/) +برای این که بدانید دیگران در مورد آیریس چه می گویند لطفا در این لینک کلیک کنید [دیگران در مورد آیریس چه می گویند](https://iris-go.com/testimonials/) لطفا این پروژه را در گیتاب **استار** کنید. > Version 11.2 **released!** From a1b72619926e726186ff27ff1531622e9ac54ebf Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:16:37 +0430 Subject: [PATCH 11/31] . Former-commit-id: 31aeb023b10bb838999beda7290d11ff94dfec4e --- README_FA.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index b453891f..e4123c44 100644 --- a/README_FA.md +++ b/README_FA.md @@ -11,9 +11,12 @@ برای این که بدانید دیگران در مورد آیریس چه می گویند لطفا در این لینک کلیک کنید [دیگران در مورد آیریس چه می گویند](https://iris-go.com/testimonials/) لطفا این پروژه را در گیتاب **استار** کنید. -> Version 11.2 **released!** +
+ +> نسخه 11.2 **آماده شد** [![https://www.facebook.com/iris.framework/posts/3276606095684693](https://iris-go.com/images/iris-112-released.png)](https://www.facebook.com/iris.framework/posts/3276606095684693) +
## Learning Iris From 4a31242833cc53699a6c57ed4c43f2ce4540a7ef Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:19:27 +0430 Subject: [PATCH 12/31] . Former-commit-id: 862218a0533f4fc212ba5ed73c471abfb9d8ac7b --- README_FA.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README_FA.md b/README_FA.md index e4123c44..f0e861eb 100644 --- a/README_FA.md +++ b/README_FA.md @@ -18,13 +18,13 @@ [![https://www.facebook.com/iris.framework/posts/3276606095684693](https://iris-go.com/images/iris-112-released.png)](https://www.facebook.com/iris.framework/posts/3276606095684693)
-## Learning Iris +## آموزش آیریس
-Quick start +شروع سریع ```sh -# assume the following code in example.go file +#

$ cat example.go ``` From 5843b04da6d5d8c03d4fd7d2d69868f8e04c73fd Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:20:54 +0430 Subject: [PATCH 13/31] . Former-commit-id: ea4bd6f22613ed3f1f46d9fea91725397faf6d95 --- README_FA.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README_FA.md b/README_FA.md index f0e861eb..456ce4e4 100644 --- a/README_FA.md +++ b/README_FA.md @@ -22,9 +22,9 @@
شروع سریع - +
```sh -#

+# $ cat example.go ``` @@ -50,7 +50,7 @@ func main() { # visit http://localhost:8080/ping on browser $ go run example.go ``` - +
> Routing is powered by [muxie](https://github.com/kataras/muxie), the most powerful and fastest trie-based software written in Go.
From 086a32872134794b7548d5df955f9463fe0bce1c Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:22:17 +0430 Subject: [PATCH 14/31] . Former-commit-id: 62f029fd8714f2c756d34a05a50816e3cf1a646c --- README_FA.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README_FA.md b/README_FA.md index 456ce4e4..d672e96e 100644 --- a/README_FA.md +++ b/README_FA.md @@ -23,8 +23,13 @@
شروع سریع
+ ```sh + +

# +

+ $ cat example.go ``` From 1e5f0ce00283f80c91d90e05b6d2ec5bddbc8594 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:23:40 +0430 Subject: [PATCH 15/31] . Former-commit-id: 964469868a285c136dfe64ef96f92385a2b6a1c7 --- README_FA.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README_FA.md b/README_FA.md index d672e96e..eef66630 100644 --- a/README_FA.md +++ b/README_FA.md @@ -26,8 +26,8 @@ ```sh -

-# +

+# فرض کنید همچین کدی را در فایل example.go نوشته اید

$ cat example.go From dab46afe3984e674383225f4b5c95c2020788b72 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:26:41 +0430 Subject: [PATCH 16/31] . Former-commit-id: 8a09615e1c88c9773b67ad0185e3284aae10ff32 --- README_FA.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README_FA.md b/README_FA.md index eef66630..d6a7b203 100644 --- a/README_FA.md +++ b/README_FA.md @@ -24,12 +24,14 @@ شروع سریع
+
+ ```sh - -

# فرض کنید همچین کدی را در فایل example.go نوشته اید -

+``` +
+```sh $ cat example.go ``` From bdf172e1da198d9d9073c9a6129104938322202c Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:27:21 +0430 Subject: [PATCH 17/31] . Former-commit-id: c647619dc4eee10f71b6b0ac35a5c9449d7d2e39 --- README_FA.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README_FA.md b/README_FA.md index d6a7b203..0dd6f023 100644 --- a/README_FA.md +++ b/README_FA.md @@ -22,11 +22,13 @@
شروع سریع +
```sh + # فرض کنید همچین کدی را در فایل example.go نوشته اید ```
From 881c372119c6b6121452d07a4427961e1f1e6948 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:33:53 +0430 Subject: [PATCH 18/31] . Former-commit-id: 58053235b4d84cdee19164215c28f94e2e3708b7 --- README_FA.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index 0dd6f023..c63909c9 100644 --- a/README_FA.md +++ b/README_FA.md @@ -60,7 +60,10 @@ func main() { $ go run example.go ```
-> Routing is powered by [muxie](https://github.com/kataras/muxie), the most powerful and fastest trie-based software written in Go. + + +>ایریس از پروژه ی [muxie](https://github.com/kataras/muxie) که موثرترین و سریع پروژه مسیریابی در GO می باشد استفاده می کند. +
From 0a44de363d5697da604d6972a90b74e82368b1e2 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:35:35 +0430 Subject: [PATCH 19/31] . Former-commit-id: 22c859a3458805555af403ceb86667efbf00cba8 --- README_FA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index c63909c9..f794e4bc 100644 --- a/README_FA.md +++ b/README_FA.md @@ -62,7 +62,7 @@ $ go run example.go
->ایریس از پروژه ی [muxie](https://github.com/kataras/muxie) که موثرترین و سریع پروژه مسیریابی در GO می باشد استفاده می کند. +>ایریس از پروژه ی [muxie](https://github.com/kataras/muxie) که موثرترین و سریع ترین پروژه مسیریابی در GO می باشد استفاده می کند.
From acd2c97a7ad134d5949670b66c264b4cd6e7c4ac Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:37:49 +0430 Subject: [PATCH 20/31] . Former-commit-id: 1dfd3e516c501a16c5df46c891a6fe3834d52d2f --- README_FA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index f794e4bc..ad2fdbc8 100644 --- a/README_FA.md +++ b/README_FA.md @@ -31,7 +31,7 @@ # فرض کنید همچین کدی را در فایل example.go نوشته اید ``` -
+
```sh $ cat example.go From a4aacb72479be892dd27f686c41322dace7da25c Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:38:50 +0430 Subject: [PATCH 21/31] . Former-commit-id: 2f3762f359f42da85a6911b8bbd54fbaae9e27db --- README_FA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index ad2fdbc8..5743befd 100644 --- a/README_FA.md +++ b/README_FA.md @@ -31,7 +31,7 @@ # فرض کنید همچین کدی را در فایل example.go نوشته اید ``` -
+
```sh $ cat example.go From 2cf2069c1542c0c7283edd9ffbb2781bbd2d4482 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:52:10 +0430 Subject: [PATCH 22/31] . Former-commit-id: d3b4e62c88700989ed2aa0d53686b59a2c646a84 --- README_FA.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README_FA.md b/README_FA.md index 5743befd..da021e0a 100644 --- a/README_FA.md +++ b/README_FA.md @@ -62,21 +62,26 @@ $ go run example.go
->ایریس از پروژه ی [muxie](https://github.com/kataras/muxie) که موثرترین و سریع ترین پروژه مسیریابی در GO می باشد استفاده می کند. +> ایریس از پروژه ی [muxie](https://github.com/kataras/muxie) که موثرترین و سریع ترین پروژه مسیریابی در GO می باشد استفاده می کند.
-Iris contains extensive and thorough **[wiki](https://github.com/kataras/iris/wiki)** making it easy to get started with the framework. +آیریس داری **[wiki](https://github.com/kataras/iris/wiki)** بسیار کامل و گسترده ای میباشد که یادگیری ان را ساده می کند. -For a more detailed technical documentation you can head over to our [godocs](https://godoc.org/github.com/kataras/iris). And for executable code you can always visit the [_examples](_examples/) repository's subdirectory. -### Do you like to read while traveling? +شما برای مشاهده و خواندن داکیومنت های فنی میتوانید به [godocs](https://godoc.org/github.com/kataras/iris) مراجعه کنید و همچنین برای مشاهده مثال ها و کد های قابل اجرا همیشه میتوانید از [_examples](_examples/) repository's subdirectory. استفادهده کنید . + + +### آیا شما مطالعه کردن در طول سفر را دوست دارید ؟ + +
Book cover -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. +
+شما می توانید درخواست یک نسخه PDF آن را از اینجا [درخواست](https://bit.ly/iris-req-book) بدهید . رایگان. ## Contributing From 372f935496735b98c764210b5b22c37faa7997b7 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 14:56:02 +0430 Subject: [PATCH 23/31] . Former-commit-id: fc1338fc32dd516f46a70c3cd86e68eef79d916b --- README_FA.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index da021e0a..7a29bdae 100644 --- a/README_FA.md +++ b/README_FA.md @@ -81,7 +81,8 @@ $ go run example.go
-شما می توانید درخواست یک نسخه PDF آن را از اینجا [درخواست](https://bit.ly/iris-req-book) بدهید . رایگان. + +شما میتوانید در خواست یک نسخه PDF داکیومنت ر ا به صورت رایگان از اینجا بدهید [درخواست](https://bit.ly/iris-req-book) ## Contributing From ddfd6fd4b2df3cd1063142ef8b3bd6719adba429 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 15:06:20 +0430 Subject: [PATCH 24/31] . Former-commit-id: 1adabf77c75b094f1e8608ec4fce224a139b6114 --- README_FA.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index 7a29bdae..e041d781 100644 --- a/README_FA.md +++ b/README_FA.md @@ -11,10 +11,11 @@ برای این که بدانید دیگران در مورد آیریس چه می گویند لطفا در این لینک کلیک کنید [دیگران در مورد آیریس چه می گویند](https://iris-go.com/testimonials/) لطفا این پروژه را در گیتاب **استار** کنید. -
> نسخه 11.2 **آماده شد** +
+ [![https://www.facebook.com/iris.framework/posts/3276606095684693](https://iris-go.com/images/iris-112-released.png)](https://www.facebook.com/iris.framework/posts/3276606095684693)
@@ -61,9 +62,11 @@ $ go run example.go ```
+
> ایریس از پروژه ی [muxie](https://github.com/kataras/muxie) که موثرترین و سریع ترین پروژه مسیریابی در GO می باشد استفاده می کند. +
@@ -75,6 +78,7 @@ $ go run example.go ### آیا شما مطالعه کردن در طول سفر را دوست دارید ؟ +
Book cover From f50757cfb8e53df7bd5231d547255c8b9dd284cc Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 15:34:58 +0430 Subject: [PATCH 25/31] . Former-commit-id: 7877920096e1158416559278e16f7ed8acbd3d7f --- README_FA.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README_FA.md b/README_FA.md index e041d781..003109cb 100644 --- a/README_FA.md +++ b/README_FA.md @@ -73,7 +73,7 @@ $ go run example.go آیریس داری **[wiki](https://github.com/kataras/iris/wiki)** بسیار کامل و گسترده ای میباشد که یادگیری ان را ساده می کند. -شما برای مشاهده و خواندن داکیومنت های فنی میتوانید به [godocs](https://godoc.org/github.com/kataras/iris) مراجعه کنید و همچنین برای مشاهده مثال ها و کد های قابل اجرا همیشه میتوانید از [_examples](_examples/) repository's subdirectory. استفادهده کنید . +شما برای مشاهده و خواندن داکیومنت های فنی میتوانید به [godocs](https://godoc.org/github.com/kataras/iris) مراجعه کنید و همچنین برای مشاهده مثال ها و کد های قابل اجرا همیشه میتوانید از [مثال ها](_examples/) استفادهده کنید . ### آیا شما مطالعه کردن در طول سفر را دوست دارید ؟ @@ -88,20 +88,20 @@ $ go run example.go شما میتوانید در خواست یک نسخه PDF داکیومنت ر ا به صورت رایگان از اینجا بدهید [درخواست](https://bit.ly/iris-req-book) -## 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. +ما دوست داریم که شما در فریمورک آیریس مشارکت کنید و کد ها را توسعه و بهبود ببخشید ! برای اطلاع بیشتر در مورد نحوه ی مشارکت کردن در این پروژه لطفا اینجا را بررسی کنید [CONTRIBUTING.md](CONTRIBUTING.md) -[List of all Contributors](https://github.com/kataras/iris/graphs/contributors) +[مشاهده ی همه ی مشارکت کننده ها](https://github.com/kataras/iris/graphs/contributors) -## 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. +اگر شما باگ های امنیتی در آیریس پیدا کردید لطفا یک ایمیل به [iris-go@outlook.com](mailto:iris-go@outlook.com) ارسال کنید. همه ی باگ های امنیتی بلافاصله برطرف میشود. -## License +## مجوز -The project name "Iris" was inspired by the Greek mythology. +نام پروژه آیریس ریشه ای یونانی دارد. -Iris Web Framework is free and open-source software licensed under the [3-Clause BSD License](LICENSE). +فریمورک آیریس رایگان و سورس باز و تحت مجوز [3-Clause BSD License](LICENSE) می باشد.
\ No newline at end of file From e7439f095eb63f56a064947181bd44a88918b9e7 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 15:40:08 +0430 Subject: [PATCH 26/31] . Former-commit-id: efa68ea96cdf262ab37802d8c0a84a085a4abd69 --- README_FA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index 003109cb..bd48608c 100644 --- a/README_FA.md +++ b/README_FA.md @@ -1,7 +1,7 @@
-# آیریس +# آیریس
[![build status](https://img.shields.io/travis/kataras/iris/master.svg?style=for-the-badge)](https://travis-ci.org/kataras/iris) [![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) [![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/tree/master/_examples) [![chat](https://img.shields.io/gitter/room/iris_go/community.svg?color=blue&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community) [![release](https://img.shields.io/badge/release%20-v11.2-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) From 28c5c5a2412c848aa546d7570f3319304cf3a994 Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 15:42:04 +0430 Subject: [PATCH 27/31] . Former-commit-id: e86dbd07f3e1f2989913117ba8bb9095c068c875 --- README_FA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index bd48608c..a4056ec2 100644 --- a/README_FA.md +++ b/README_FA.md @@ -1,7 +1,7 @@
-# آیریس +# آیریس
[![build status](https://img.shields.io/travis/kataras/iris/master.svg?style=for-the-badge)](https://travis-ci.org/kataras/iris) [![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) [![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/tree/master/_examples) [![chat](https://img.shields.io/gitter/room/iris_go/community.svg?color=blue&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community) [![release](https://img.shields.io/badge/release%20-v11.2-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) From ce935cad8679359849d8b1ea1b7a804fc06a727a Mon Sep 17 00:00:00 2001 From: majid bigdeli Date: Thu, 12 Sep 2019 15:43:21 +0430 Subject: [PATCH 28/31] . Former-commit-id: 3912612abc0b11b501a807ba18659a8995504bc6 --- README_FA.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_FA.md b/README_FA.md index a4056ec2..84d536cd 100644 --- a/README_FA.md +++ b/README_FA.md @@ -73,7 +73,7 @@ $ go run example.go آیریس داری **[wiki](https://github.com/kataras/iris/wiki)** بسیار کامل و گسترده ای میباشد که یادگیری ان را ساده می کند. -شما برای مشاهده و خواندن داکیومنت های فنی میتوانید به [godocs](https://godoc.org/github.com/kataras/iris) مراجعه کنید و همچنین برای مشاهده مثال ها و کد های قابل اجرا همیشه میتوانید از [مثال ها](_examples/) استفادهده کنید . +شما برای مشاهده و خواندن داکیومنت های فنی میتوانید به [godocs](https://godoc.org/github.com/kataras/iris) مراجعه کنید و همچنین برای مشاهده مثال ها و کد های قابل اجرا همیشه میتوانید از [مثال ها](_examples/) استفاده کنید . ### آیا شما مطالعه کردن در طول سفر را دوست دارید ؟ From 986be5870290a73777f015e84709abbbb1f7ff8b Mon Sep 17 00:00:00 2001 From: BenLampson <58603432@qq.com> Date: Wed, 25 Sep 2019 16:11:39 +0800 Subject: [PATCH 29/31] Fix bug:about the MVC package route binding I found there has some little bug in the controller_method_parser.go the bug is : if someone use the code like this: func (cc *HelloWorld) GetInfoXYT() We can't create the Url that he want. We lose the T, our's url is: info/x/y Cause// it doesn't count the last uppercase and the last append is words = append(words, s[start:end]) Former-commit-id: 9ff6ad4a220aea2730243ba44912d5a6acc66266 --- mvc/controller_method_parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mvc/controller_method_parser.go b/mvc/controller_method_parser.go index 650a880a..aef3062f 100644 --- a/mvc/controller_method_parser.go +++ b/mvc/controller_method_parser.go @@ -51,7 +51,7 @@ func (l *methodLexer) reset(s string) { } if end > 0 && len(s) >= end { - words = append(words, s[start:end]) + words = append(words, s[start:]) } } From 9115745e4f807963e191e1d22040cc75a7a5d42c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?BenLampson=28=E8=B5=B5=E5=85=83=E6=BA=90=29?= <58603432@qq.com> Date: Thu, 26 Sep 2019 09:07:34 +0800 Subject: [PATCH 30/31] Update controller_test.go Former-commit-id: 2f2576255b988f29e8745bc62f5a14a848349bc5 --- mvc/controller_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mvc/controller_test.go b/mvc/controller_test.go index 5575f421..49d561e1 100644 --- a/mvc/controller_test.go +++ b/mvc/controller_test.go @@ -409,6 +409,9 @@ func (c *testControllerRelPathFromFunc) GetSomethingByBy(string, int) {} func (c *testControllerRelPathFromFunc) GetSomethingNewBy(string, int) {} // two input arguments, one By which is the latest word. func (c *testControllerRelPathFromFunc) GetSomethingByElseThisBy(bool, int) {} // two input arguments +func (c *testControllerRelPathFromFunc) GetLocationX(){} +func (c *testControllerRelPathFromFunc) GetLocationXBy(int){} + func TestControllerRelPathFromFunc(t *testing.T) { app := iris.New() New(app).Handle(new(testControllerRelPathFromFunc)) From 44765c7d77dc857bc2527211cd850c0da52a2253 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Sat, 5 Oct 2019 22:24:35 +0300 Subject: [PATCH 31/31] add test case for https://github.com/kataras/iris/pull/1364 Former-commit-id: 836fb947642976f609f97cd5aeb4226e1fb991b8 --- mvc/controller_test.go | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/mvc/controller_test.go b/mvc/controller_test.go index 49d561e1..db9acfa8 100644 --- a/mvc/controller_test.go +++ b/mvc/controller_test.go @@ -409,8 +409,9 @@ func (c *testControllerRelPathFromFunc) GetSomethingByBy(string, int) {} func (c *testControllerRelPathFromFunc) GetSomethingNewBy(string, int) {} // two input arguments, one By which is the latest word. func (c *testControllerRelPathFromFunc) GetSomethingByElseThisBy(bool, int) {} // two input arguments -func (c *testControllerRelPathFromFunc) GetLocationX(){} -func (c *testControllerRelPathFromFunc) GetLocationXBy(int){} +func (c *testControllerRelPathFromFunc) GetLocationX() {} +func (c *testControllerRelPathFromFunc) GetLocationXY() {} +func (c *testControllerRelPathFromFunc) GetLocationZBy(int) {} func TestControllerRelPathFromFunc(t *testing.T) { app := iris.New() @@ -452,6 +453,13 @@ func TestControllerRelPathFromFunc(t *testing.T) { Body().Equal("GET:/42") e.GET("/anything/here").Expect().Status(iris.StatusOK). Body().Equal("GET:/anything/here") + + e.GET("/location/x").Expect().Status(iris.StatusOK). + Body().Equal("GET:/location/x") + e.GET("/location/x/y").Expect().Status(iris.StatusOK). + Body().Equal("GET:/location/x/y") + e.GET("/location/z/42").Expect().Status(iris.StatusOK). + Body().Equal("GET:/location/z/42") } type testControllerActivateListener struct {