From 805ba56863997d81c3592759347a427940f9ff2d Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Thu, 16 Feb 2017 22:11:42 +0200 Subject: [PATCH] Update doc Former-commit-id: c62184510b2ff88656eac7d81b66c3130f0eafc9 --- doc.go | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/doc.go b/doc.go index fc29f872..f45a1d92 100644 --- a/doc.go +++ b/doc.go @@ -147,8 +147,8 @@ Example code: Parameterized Path -Path Parameters' syntax depends on the selected router -Note: This is the only difference between the routers, the registered path form, the API remains the same for both. +Path Parameters' syntax depends on the selected router. +This is the only difference between the routers, the registered path form, the API remains the same for both. Example `gorillamux` code: @@ -214,7 +214,6 @@ Example `gorillamux` code: } - Example `httprouter` code: @@ -284,7 +283,10 @@ Example `httprouter` code: Grouping Routes -A set of routes that are being groupped by path prefix can (optionally) share the same middleware handlers and template layou. +A set of routes that are being groupped by path prefix can (optionally) share the same middleware handlers and template layout. +A group can have a nested group too. + +`.Party` is being used to group routes, developers can declare an unlimited number of (nested) groups. Example code: @@ -609,10 +611,12 @@ That's the basics But you should have a basic idea of the framework by now, we just scratched the surface. If you enjoy what you just saw and want to learn more, please follow the below links: -Examples: https://github.com/iris-contrib/examples -Adaptors: https://github.com/kataras/iris/tree/v6/adaptors -Middleware: https://github.com/kataras/iris/tree/v6/middleware and -https://github.com/iris-contrib/middleware +* Examples: https://github.com/iris-contrib/examples + +* Adaptors: https://github.com/kataras/iris/tree/v6/adaptors + +* Middleware: https://github.com/kataras/iris/tree/v6/middleware and +* https://github.com/iris-contrib/middleware */