Skip to content

Commit 1f95e93

Browse files
Dean KarnDean Karn
authored andcommitted
Update README.md
1 parent ee039e7 commit 1f95e93

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,15 @@ func Home(c *MyContext) {
171171
}
172172
```
173173

174+
Misc
175+
-----
176+
```go
177+
...
178+
// can register multiple handlers, the last is considered the last in the chain and others
179+
// considered middleware, but just for this route and not added to middleware like l.Use() does.
180+
l.Get(/"home", AdditionalHandler, HomeHandler)
181+
```
182+
174183
Middleware
175184
-----------
176185
There are some pre-defined middlewares within the middleware folder; NOTE: that the middleware inside will

0 commit comments

Comments
 (0)