mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 10:57:05 +00:00
Format HISTORY.md entry for v8.3.4
Former-commit-id: e1f88cc2a0eb42034dd537ef2c16b8dda39b0a74
This commit is contained in:
@@ -25,10 +25,10 @@ Give read access to the current request context's route, a feature that many of
|
|||||||
```go
|
```go
|
||||||
func(ctx context.Context) {
|
func(ctx context.Context) {
|
||||||
_ = ctx.GetCurrentRoute().Name()
|
_ = ctx.GetCurrentRoute().Name()
|
||||||
// .Method() returns string, same as ctx.Method().
|
// .Method() returns string, same as ctx.Method().
|
||||||
// .Subdomain() returns string, the registered subdomain.
|
// .Subdomain() returns string, the registered subdomain.
|
||||||
// .Path() returns string, the registered path.
|
// .Path() returns string, the registered path.
|
||||||
// .IsOnline() returns boolean.
|
// .IsOnline() returns boolean.
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user