fix: fix a comment error

Former-commit-id: 9245f027c77b270b62ff64d0d142e5ca802f86e8
This commit is contained in:
Amatist_kurisu 2020-01-28 16:37:22 +08:00
parent fa232aea06
commit 714c12374d

View File

@ -426,7 +426,7 @@ func (r Response) Dispatch(ctx context.Context) {
// wraps the template file name, layout, (any) view data, status code and error.
// It's smart enough to complete the request and send the correct response to the client.
//
// Example at: https://github.com/kataras/iris/blob/master/_examples/hero/overview/web/controllers/hello_controller.go.
// Example at: https://github.com/kataras/iris/blob/master/_examples/hero/overview/web/routes/hello.go.
type View struct {
Name string
Layout string