mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
more route info improvements
Former-commit-id: ccbe95de0badb1bf448fcc443cecda60772716dc
This commit is contained in:
@@ -103,7 +103,7 @@ func main() {
|
||||
usersRoutes.Delete("/{id:uint64}", func(ctx iris.Context) {
|
||||
id, _ := ctx.Params().GetUint64("id")
|
||||
ctx.Writef("delete user by id: %d", id)
|
||||
}).SetDescription("deletes a user")
|
||||
}).Describe("deletes a user")
|
||||
|
||||
// Subdomains, depends on the host, you have to edit the hosts or nginx/caddy's configuration if you use them.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user