1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-19 10:57:05 +00:00

Fan of the MVC Architectural Pattern?

Former-commit-id: c6e425e8a4b150ea78456b2db88367093c164a38
This commit is contained in:
kataras
2017-08-28 11:40:25 +03:00
parent 42b123975c
commit e2600450f7
7 changed files with 87 additions and 47 deletions

View File

@@ -6,7 +6,6 @@ import (
"strings"
"github.com/kataras/iris"
"github.com/kataras/iris/mvc"
)
// paths
@@ -22,7 +21,7 @@ const (
// AuthController is the user authentication controller, a custom shared controller.
type AuthController struct {
mvc.SessionController
iris.SessionController
Source *DataSource
User Model `iris:"model"`