mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 10:27:06 +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
|
||||
func(ctx context.Context) {
|
||||
_ = ctx.GetCurrentRoute().Name()
|
||||
// .Method() returns string, same as ctx.Method().
|
||||
// .Subdomain() returns string, the registered subdomain.
|
||||
// .Path() returns string, the registered path.
|
||||
// .IsOnline() returns boolean.
|
||||
// .Method() returns string, same as ctx.Method().
|
||||
// .Subdomain() returns string, the registered subdomain.
|
||||
// .Path() returns string, the registered path.
|
||||
// .IsOnline() returns boolean.
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user