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

@@ -15,7 +15,7 @@ type Zeroer interface {
// IsZero reports whether "v" is zero value or no.
// The given "v" value can complete the Zeroer interface
// which can be used to customize the behavior for each type of "v".
func IsZero(v interface{}) bool {
func IsZero(v any) bool {
switch t := v.(type) {
case Zeroer: // completes the time.Time as well.
return t.IsZero()