1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

ok almost finished. We're good at deadlines eventually. Tomorrow at 23:59 an article will be published same time with the dev branch merge to master

Former-commit-id: 42c1bf88cedbddf3cc01366ab769139546902e71
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-12-31 02:32:28 +02:00
parent 617258890e
commit 1b1661ed53
22 changed files with 399 additions and 88 deletions

View File

@@ -12,6 +12,7 @@ import (
// https://github.com/kataras/iris/blob/master/HISTORY.md#mo-01-jenuary-2018--v10
func (app *Application) Controller(relPath string, c interface{}, _ ...interface{}) []*router.Route {
name := mvc.NameOf(c)
panic(fmt.Errorf(`"Controller" method is DEPRECATED, use the "mvc" subpackage instead.
PREVIOUSLY YOU USED TO CODE IT LIKE THIS: