From 5eaf71b17b205143ab15175a1f2d38a5873b02cd Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Tue, 3 Mar 2020 10:35:46 +0200 Subject: [PATCH] minor doc fix as found by: #1459 --- MVC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVC.md b/MVC.md index 1094213..88b16ab 100644 --- a/MVC.md +++ b/MVC.md @@ -112,7 +112,7 @@ If `mvc.New(app.Party("/profile")).Handle(new(profile.Controller))` If `mvc.New(app.Party("/assets")).Handle(new(file.Controller))` -- `func(*Controller) GetByWildard(path string)` - `GET:/assets/{param:path}` +- `func(*Controller) GetByWildcard(path string)` - `GET:/assets/{param:path}` Supported types for method functions receivers: int, int64, bool and string.