mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
Former-commit-id: fd3ef788ff4696e8a7f3d0d2cf11be4532abdf3f
This commit is contained in:
@@ -123,7 +123,7 @@ func main() {
|
||||
// +------------------------+
|
||||
// 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