iris/mvc/go19.go
Gerasimos (Makis) Maropoulos 5fc24812bc ❤️ awesome and unique features for end-developers are coming...
total refactor of the hero and mvc packages, see README#Next (it's not completed yet)


Former-commit-id: b85ae99cbfe5965ba919c1e15cf4989e787982c0
2020-02-29 14:18:15 +02:00

18 lines
556 B
Go

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