chore: replace interface with any

This commit is contained in:
Florian Schade
2026-04-23 09:31:11 +02:00
committed by Ralf Haferkamp
parent 8f26149743
commit 288e67cc39
138 changed files with 933 additions and 934 deletions
+3 -3
View File
@@ -27,7 +27,7 @@ func MergeKV(values ...KV) (KV, error) {
}
// PatchKV injects the given values into to v.
func PatchKV(v map[string]interface{}, values KV) KV {
func PatchKV(v map[string]any, values KV) KV {
if v == nil {
v = KV{}
}
@@ -47,10 +47,10 @@ func PatchKV(v map[string]interface{}, values KV) KV {
}
if _, ok := t[p]; !ok {
t[p] = map[string]interface{}{}
t[p] = map[string]any{}
}
t = t[p].(map[string]interface{})
t = t[p].(map[string]any)
}
}
return v