1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-19 09:56:02 +00:00

push version 11.2.4

Former-commit-id: 3451c700c02aa98d7c3f02b305c381b250882791
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-08-09 23:25:21 +03:00
parent e05333475a
commit 416324cc42
7 changed files with 28 additions and 20 deletions

View File

@@ -2,14 +2,14 @@
Please do learn how [net/http](https://golang.org/pkg/net/http/) std package works, first.
This folder provides easy to understand code snippets on how to get started with [iris](https://github.com/kataras/iris) micro web framework.
This folder provides easy to understand code snippets on how to get started with [iris](https://github.com/kataras/iris) web framework.
It doesn't always contain the "best ways" but it does cover each important feature that will make you so excited to GO with iris!
## Running the examples
1. Install the Go Programming Language, version 1.9+ from [here](https://golang.org/dl).
2. Install Iris: `go get -u github.com/kataras/iris`
1. Install the Go Programming Language, version 1.12+ from https://golang.org/dl.
2. [Install Iris](https://github.com/kataras/iris/wiki/installation)
3. Install any external packages that required by the examples
<details>
@@ -21,14 +21,14 @@ cd _examples && go get ./...
</details>
And execute
And run each example you wanna see, e.g.
```sh
$ cd $GOPATH/src/github.com/kataras/iris/_examples/overview
$ go run main.go
```
> Test the examples by opening a terminal window and execute: `GOCACHE=off && cd _examples && go test -v ./...`
> Test the examples by opening a terminal window and execute: `go test -v ./...`
### Overview
@@ -256,7 +256,7 @@ You can serve [quicktemplate](https://github.com/valyala/quicktemplate) and [her
### Miscellaneous
- [Method Override](https://github.com/kataras/iris/blob/master/middleware/methodoverride/methodoverride_test.go) **NEW**
- [HTTP Method Override](https://github.com/kataras/iris/blob/master/middleware/methodoverride/methodoverride_test.go) **NEW**
- [Request Logger](http_request/request-logger/main.go)
* [log requests to a file](http_request/request-logger/request-logger-file/main.go)
- [Localization and Internationalization](miscellaneous/i18n/main.go)

View File

@@ -363,7 +363,7 @@ You can serve [quicktemplate](https://github.com/valyala/quicktemplate) and [her
### 其他
- [Method Override](https://github.com/kataras/iris/blob/master/middleware/methodoverride/methodoverride_test.go) **更新**
- [HTTP Method Override](https://github.com/kataras/iris/blob/master/middleware/methodoverride/methodoverride_test.go) **更新**
- [请求记录器](http_request/request-logger/main.go)
* [将请求记录到文件](http_request/request-logger/request-logger-file/main.go)
- [本地化和多语言支持](miscellaneous/i18n/main.go)