1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 12:31:58 +00:00
Former-commit-id: fe6305deed00e170bf4d39a12c0644fe686e0a24
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-10-21 19:20:05 +03:00
parent dbba631df4
commit 3962710d3d
109 changed files with 4383 additions and 2658 deletions

View File

@@ -1,6 +1,6 @@
package context
import "github.com/kataras/iris/core/router/macro"
import "github.com/kataras/iris/macro"
// RouteReadOnly allows decoupled access to the current route
// inside the context.
@@ -25,7 +25,7 @@ type RouteReadOnly interface {
// StaticPath returns the static part of the original, registered route path.
// if /user/{id} it will return /user
// if /user/{id}/friend/{friendid:int} it will return /user too
// if /user/{id}/friend/{friendid:uint64} it will return /user too
// if /assets/{filepath:path} it will return /assets.
StaticPath() string