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

@@ -105,7 +105,7 @@ type ControllerActivator struct {
// NameOf returns the package name + the struct type's name,
// it's used to take the full name of an Controller, the `ControllerActivator#Name`.
func NameOf(v interface{}) string {
func NameOf(v any) string {
elemTyp := indirectType(reflect.ValueOf(v).Type())
typName := elemTyp.Name()
@@ -115,7 +115,7 @@ func NameOf(v interface{}) string {
return fullname
}
func newControllerActivator(app *Application, controller interface{}) *ControllerActivator {
func newControllerActivator(app *Application, controller any) *ControllerActivator {
if controller == nil {
return nil
}
@@ -424,7 +424,7 @@ func (c *ControllerActivator) parseMethod(m reflect.Method) {
c.Handle(httpMethod, httpPath, m.Name)
}
func (c *ControllerActivator) logErrorf(format string, args ...interface{}) {
func (c *ControllerActivator) logErrorf(format string, args ...any) {
c.Router().Logger().Errorf(format, args...)
}