Replace interface{} by any (#901)

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero
2023-06-16 10:49:05 +09:00
committed by GitHub
parent 94fe519ed5
commit c55fa0f765
46 changed files with 394 additions and 394 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ import (
// TestTextRenderer tests the text renderer.
func TestNewTextRenderer(t *testing.T) {
tData := map[string]interface{}{
tData := map[string]any{
"foo": "bar",
}
tr := NewTextRenderer(filesystem.DefaultFileSystem(), ".", tData)
@@ -20,7 +20,7 @@ func TestNewTextRenderer(t *testing.T) {
// TestTextRenderer tests the text renderer.
func TestTextRender(t *testing.T) {
tData := map[string]interface{}{
tData := map[string]any{
"foot": "bart",
}
tr := NewTextRenderer(filesystem.DefaultFileSystem(), ".", tData)