version

Gerasimos (Makis) Maropoulos 2019-08-15 10:52:33 +03:00
parent 41cb5a9180
commit cf39e57b04
No known key found for this signature in database
GPG Key ID: F169457BBDA4ACF4
2 changed files with 3 additions and 3 deletions

@ -3,7 +3,7 @@ Iris is a cross-platform software.
The only requirement is the [Go Programming Language](https://golang.org/dl/), version 1.12 and above.
```sh
$ go get github.com/kataras/iris@v11.2.6
$ go get github.com/kataras/iris@v11.2.7
```
Or inside your `go.mod` file:
@ -14,7 +14,7 @@ module your_project_name
go 1.12
require (
github.com/kataras/iris v11.2.6
github.com/kataras/iris v11.2.7
)
```

@ -67,7 +67,7 @@ func newProductProblem(productName, detail string) iris.Problem {
func fireProblem(ctx iris.Context) {
// Response like JSON but with indent of " " and
// content type of "application/problem+json"
ctx.Problem(newProductProblem("product name", "problem error details"), iris.ProblemOptions{
ctx.Problem(newProductProblem("product name", "problem details"), iris.ProblemOptions{
// Optional JSON renderer settings.
JSON: iris.JSON{
Indent: " ",