1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-16 00:16:00 +00:00

update dependencies

This commit is contained in:
Gerasimos (Makis) Maropoulos
2025-08-15 23:29:20 +03:00
parent de4f462198
commit a8a3afea22
186 changed files with 694 additions and 689 deletions

View File

@@ -77,7 +77,7 @@ func (fi bindataFileInfo) IsDir() bool {
}
// Sys return file is sys mode
func (fi bindataFileInfo) Sys() interface{} {
func (fi bindataFileInfo) Sys() any {
return nil
}

View File

@@ -67,7 +67,7 @@ func main() {
Name string
Age int
Items []string
Map map[string]interface{}
Map map[string]any
Nested book
}{
"Example Name",

View File

@@ -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")
// [...]

View File

@@ -2,7 +2,7 @@ Hello template, implements the Partial's methods.
{% code
type Hello struct {
Vars map[string]interface{}
Vars map[string]any
}
%}

View File

@@ -26,7 +26,7 @@ var (
//line hello.qtpl:4
type Hello struct {
Vars map[string]interface{}
Vars map[string]any
}
//line hello.qtpl:9

View File

@@ -1,6 +1,6 @@
module github.com/kataras/iris/v12/_examples/view/templ
go 1.24.3
go 1.25
require (
github.com/a-h/templ v0.3.887

View File

@@ -78,7 +78,7 @@ func (fi bindataFileInfo) IsDir() bool {
}
// Sys return file is sys mode
func (fi bindataFileInfo) Sys() interface{} {
func (fi bindataFileInfo) Sys() any {
return nil
}

View File

@@ -34,7 +34,7 @@ func hi(ctx iris.Context) {
// ctx.ViewData("name", "iris")
// ctx.ViewData("serverStartTime", startTime)
// or if you set all view data in the same handler you can use the
// iris.Map/pongo2.Context/map[string]interface{}, look below:
// iris.Map/pongo2.Context/map[string]any, look below:
if err := ctx.View("hi.html", iris.Map{
"title": "Hi Page",

View File

@@ -77,7 +77,7 @@ func (fi bindataFileInfo) IsDir() bool {
}
// Sys return file is sys mode
func (fi bindataFileInfo) Sys() interface{} {
func (fi bindataFileInfo) Sys() any {
return nil
}

View File

@@ -75,7 +75,7 @@ func (fi bindataFileInfo) IsDir() bool {
}
// Sys return file is sys mode
func (fi bindataFileInfo) Sys() interface{} {
func (fi bindataFileInfo) Sys() any {
return nil
}