mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 10:57:05 +00:00
update the documents for the new MVC API and some of its new features but not finished yet, README big examples and _examples/mvc/login is are yet updated and I'm thinking of removing the big examples on README.md, they exist on the _examples/mvc updated.
Former-commit-id: c2938d4bcaa3520744526f7975ee3cce632499b3
This commit is contained in:
@@ -2,7 +2,7 @@ package controllers
|
||||
|
||||
import "github.com/kataras/iris/mvc"
|
||||
|
||||
type HomeController struct{ mvc.C }
|
||||
type HomeController struct{}
|
||||
|
||||
func (c *HomeController) Get() mvc.Result {
|
||||
return mvc.View{Name: "index.html"}
|
||||
|
||||
Reference in New Issue
Block a user