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
@@ -37,7 +37,7 @@ func TestService_Get(t *testing.T) {
primaryFS := fsx.NewMemMapFs()
fallbackFS := fsx.NewFallbackFS(primaryFS, fsx.NewMemMapFs())
add := func(filename string, content interface{}) {
add := func(filename string, content any) {
b, err := json.Marshal(content)
assert.Nil(t, err)
@@ -45,11 +45,11 @@ func TestService_Get(t *testing.T) {
}
// baseTheme
add("base/theme.json", map[string]interface{}{
add("base/theme.json", map[string]any{
"base": "base",
})
// brandingTheme
add("_branding/theme.json", map[string]interface{}{
add("_branding/theme.json", map[string]any{
"_branding": "_branding",
})