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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user