mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
07046ab978
Former-commit-id: 037081db5d6d4434e873ca8b75334ee43e046b6a
20 lines
569 B
Go
20 lines
569 B
Go
// +build go1.9
|
|
|
|
package mvc
|
|
|
|
import "github.com/kataras/iris/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
|