mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 12:27:02 +00:00
remove the old 'mvc' folder - examples are not changed yet - add the 'di' package inside the mvc2 package - which will be renamed to 'mvc' on the next commit - new mvc.Application and some dublications removed - The new version will be version 9 because it will contain breaking changes (not to the end-developer's controllers but to the API they register them) - get ready for 'Christmas Edition' for believers
Former-commit-id: c7114233dee90ee308c0a3e77ec2ad0c361094b8
This commit is contained in:
26
mvc/go19.go
26
mvc/go19.go
@@ -1,26 +0,0 @@
|
||||
// +build go1.9
|
||||
|
||||
package mvc
|
||||
|
||||
import (
|
||||
"html/template"
|
||||
|
||||
"github.com/kataras/iris/mvc/activator"
|
||||
)
|
||||
|
||||
type (
|
||||
// HTML wraps the "s" with the template.HTML
|
||||
// in order to be marked as safe content, to be rendered as html and not escaped.
|
||||
HTML = template.HTML
|
||||
|
||||
// TController contains the necessary controller's pre-serve information.
|
||||
//
|
||||
// With `TController` the `Controller` can register custom routes
|
||||
// or modify the provided values that will be binded to the
|
||||
// controller later on.
|
||||
//
|
||||
// Look the `mvc/activator#TController` for its implementation.
|
||||
//
|
||||
// A shortcut for the `mvc/activator#TController`, useful when `OnActivate` is being used.
|
||||
TController = activator.TController
|
||||
)
|
||||
Reference in New Issue
Block a user