update
This commit is contained in:
parent
48f3d80275
commit
f802550a49
@ -35,6 +35,7 @@ func TestDataFilter_FilterNormalData(t *testing.T) {
|
||||
{SourceKey: "extra.age", MapKey: "user_age", DefaultValue: "18", WithDefault: true},
|
||||
{SourceKey: "slice", MapKey: "user_index", DefaultValue: "[4,5,6]", WithDefault: true},
|
||||
{SourceKey: "none", MapKey: "none_default", DefaultValue: map[string]interface{}{"a": "a"}, WithDefault: true},
|
||||
{SourceKey: "extra", MapKey: "extra_object", DefaultValue: map[string]interface{}{"a": "a"}, WithDefault: true},
|
||||
},
|
||||
}
|
||||
fmt.Println(df.Filter())
|
||||
|
Loading…
Reference in New Issue
Block a user