1
0
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:
Gerasimos (Makis) Maropoulos
2017-12-22 10:18:31 +02:00
parent 91ee8287a8
commit ef3a09c126
10 changed files with 420 additions and 461 deletions

View File

@@ -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"}