mirror of
https://github.com/kataras/iris.git
synced 2026-01-15 07:55:57 +00:00
update dependencies
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
// Hello renders our ../templates/hello.qtpl file using the compiled ../templates/hello.qtpl.go file.
|
||||
func Hello(ctx iris.Context) {
|
||||
// vars := make(map[string]interface{})
|
||||
// vars := make(map[string]any)
|
||||
// vars["message"] = "Hello World!"
|
||||
// vars["name"] = ctx.Params().Get("name")
|
||||
// [...]
|
||||
|
||||
@@ -2,7 +2,7 @@ Hello template, implements the Partial's methods.
|
||||
|
||||
{% code
|
||||
type Hello struct {
|
||||
Vars map[string]interface{}
|
||||
Vars map[string]any
|
||||
}
|
||||
%}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ var (
|
||||
//line hello.qtpl:4
|
||||
|
||||
type Hello struct {
|
||||
Vars map[string]interface{}
|
||||
Vars map[string]any
|
||||
}
|
||||
|
||||
//line hello.qtpl:9
|
||||
|
||||
Reference in New Issue
Block a user