Update to 6.0.8

This commit is contained in:
Gerasimos (Makis) Maropoulos 2017-01-10 15:14:14 +02:00
parent e4ab993760
commit e6b967bbb7
2 changed files with 9 additions and 5 deletions

View File

@ -4,11 +4,11 @@
## 6.0.7 -> 6.0.8
- Add `iris.UseTemplateFunc(functionName string, function interface{})`. You could always set custom template funcs by using each of [template engine's](https://github.com/kataras/go-template) configuration but this function will help newcomers to start creating their custom template funcs.
- Add `iris.UseTemplateFunc(functionName string, function interface{})`. You could always set custom template funcs by using each of [template engine's](https://github.com/kataras/go-template) configuration but this function will help newcomers to start creating their custom template funcs.
Example:
- https://github.com/iris-contrib/examples/tree/master/template_funcmap
- https://github.com/iris-contrib/examples/tree/master/template_engines/template_funcmap
## 6.0.6 -> 6.0.7

View File

@ -84,7 +84,7 @@ Quick Start
-----------
```bash
go get -u github.com/kataras/iris
go get -u github.com/kataras/iris/iris
```
```sh
@ -119,7 +119,7 @@ func main(){
})
iris.Listen("localhost:5900")
iris.Listen(":6000")
}
```
@ -127,8 +127,12 @@ func main(){
```sh
$ go run hellojson.go
```
> TIP #1> $ iris run main.go to enable hot-reload on .go source code changes.
Open your browser or any other http client at http://localhost:5700/api/user/42.
> TIP #2> iris.Config.IsDevelopment = true to monitor the changes you make in the templates.
Open your browser or any other http client at http://localhost:6000/api/user/42.
### New