1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 09:57:01 +00:00
Former-commit-id: fd3ef788ff4696e8a7f3d0d2cf11be4532abdf3f
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-11-10 23:46:01 +02:00
parent 7608873e70
commit d766bf9f65
7 changed files with 10 additions and 10 deletions

2
doc.go
View File

@@ -800,7 +800,7 @@ Standard macro types for parameters:
+------------------------+
path type
anything, should be the last part, can be more than one path segment,
i.e: "/test/*param" and request: "/test/path1/path2/path3" , ctx.Params().Get("param") == "path1/path2/path3"
i.e: "/test/{param:path}" and request: "/test/path1/path2/path3" , ctx.Params().Get("param") == "path1/path2/path3"
if type is missing then parameter's type is defaulted to string, so
{param} == {param:string}.