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:
2
doc.go
2
doc.go
@@ -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}.
|
||||
|
||||
Reference in New Issue
Block a user