Merge pull request #1434 from Kurisu-public/master

fix: fix a comment error
Former-commit-id: 7661fa9f3bff1edde8e22dd26cce49c5ce757d60
This commit is contained in:
Gerasimos (Makis) Maropoulos 2020-01-28 16:15:18 +02:00 committed by GitHub
commit e04ea83c04

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. // 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. // 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 { type View struct {
Name string Name string
Layout string Layout string