From 3cf2d6b270f3b4908b826a13cec6f99a124b3edb Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Fri, 17 Feb 2017 09:33:58 +0200 Subject: [PATCH] godoc.go Former-commit-id: 1e3215e45c5eab6ffde4055f3f152c653a57d981 --- doc.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc.go b/doc.go index 60758936..410feeca 100644 --- a/doc.go +++ b/doc.go @@ -78,6 +78,10 @@ Example code: ctx.HTML(iris.StatusOK, "

Welcome to my page!

") } + $ go run main.go + + $ iris run main.go ## enables reload on source code changes. + All HTTP methods are supported, users can register handlers for same paths on different methods. @@ -596,8 +600,8 @@ Example code: A real example can be found here: https://github.com/kataras/iris/tree/v6/adaptors/view/_examples/template_binary . -Enable auto-reloading of templates on each request. Useful while users are in dev mode -because they don't have to restart their app on every edit you make on the template files. +Enable auto-reloading of templates on each request. Useful while developers are in dev mode +as they no neeed to restart their app on every template edit. Example code: