mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 08:16:28 +01:00
Former-commit-id: 1557b773eef80f7a4a5a6dc47ea101aa0cc5286b
This commit is contained in:
parent
d18520407d
commit
10714273e9
|
@ -63,8 +63,8 @@
|
||||||
name = "github.com/ryanuber/columnize"
|
name = "github.com/ryanuber/columnize"
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
branch = "master"
|
|
||||||
name = "github.com/satori/go.uuid"
|
name = "github.com/satori/go.uuid"
|
||||||
|
revision = "5bf94b69c6b68ee1b541973bb8e1144db23a194b"
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
|
|
||||||
// Controller method is DEPRECATED, use the "mvc" subpackage instead, i.e
|
// Controller method is DEPRECATED, use the "mvc" subpackage instead, i.e
|
||||||
// import "github.com/kataras/iris/mvc" and read its docs among with its new features at:
|
// import "github.com/kataras/iris/mvc" and read its docs among with its new features at:
|
||||||
// https://github.com/kataras/iris/blob/master/HISTORY.md#mo-01-jenuary-2018--v10
|
// https://github.com/kataras/iris/blob/master/HISTORY.md#mo-01-jenuary-2018--v1000
|
||||||
func (app *Application) Controller(relPath string, c interface{}, _ ...interface{}) []*router.Route {
|
func (app *Application) Controller(relPath string, c interface{}, _ ...interface{}) []*router.Route {
|
||||||
name := mvc.NameOf(c)
|
name := mvc.NameOf(c)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user