iris/mvc/go19.go
Gerasimos (Makis) Maropoulos 3945fa68d1 obey the vote of @1370 (77-111 at this point) - add import suffix on iris repository
We have to do the same on iris-contrib/examples, iris-contrib/middleware and e.t.c.


Former-commit-id: 0860688158f374bc137bc934b81b26dcd0e10964
2019-10-25 01:27:02 +03:00

20 lines
573 B
Go

// +build go1.9
package mvc
import "github.com/kataras/iris/v12/hero"
type (
// Result is a type alias for the `hero#Result`, useful for output controller's methods.
Result = hero.Result
// Response is a type alias for the `hero#Response`, useful for output controller's methods.
Response = hero.Response
// View is a type alias for the `hero#View`, useful for output controller's methods.
View = hero.View
)
// Try is a type alias for the `hero#Try`,
// useful to return a result based on two cases: failure(including panics) and a succeess.
var Try = hero.Try