1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +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

@@ -1,6 +1,6 @@
module myapp
go 1.24.3
go 1.25
require (
github.com/IBM/sarama v1.45.2

View File

@@ -144,7 +144,7 @@ func (h httpError) Error() string {
return fmt.Sprintf("Status Code: %d\nReason: %s", h.Code, h.Reason)
}
func fail(ctx iris.Context, statusCode int, format string, a ...interface{}) {
func fail(ctx iris.Context, statusCode int, format string, a ...any) {
reason := "unspecified"
if format != "" {
reason = fmt.Sprintf(format, a...)