1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00

New mvc.IgnoreEmbedded option to solve #2103

This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-03-19 16:31:14 +02:00
parent 0954986a66
commit 34387a4a5c
6 changed files with 135 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ func configure(m *mvc.Application) {
m.Router.Use(cacheHandler)
m.Handle(&exampleController{
timeFormat: "Mon, Jan 02 2006 15:04:05",
})
} /* ,mvc.IgnoreEmbedded --- Can be used to ignore any embedded struct method handlers */)
}
type exampleController struct {