mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
Fan of the MVC Architectural Pattern?
Former-commit-id: c6e425e8a4b150ea78456b2db88367093c164a38
This commit is contained in:
@@ -4,15 +4,12 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/kataras/iris"
|
||||
"github.com/kataras/iris/mvc"
|
||||
|
||||
"github.com/kataras/iris/sessions"
|
||||
)
|
||||
|
||||
type VisitController struct {
|
||||
// if you build with go1.9 you can omit the import of mvc package
|
||||
// and just use `iris.Controller` instead.
|
||||
mvc.SessionController
|
||||
iris.SessionController
|
||||
|
||||
StartTime time.Time
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user