M main.go => main.go +1 -1
@@ 215,7 215,7 @@ func main() {
actionListItems := []list.Item{}
for _, i := range config.Actions {
if i.A == nil {
- i.A = map[string]interface{}{}
+ i.A = map[string]any{}
}
actionListItems = append(actionListItems, i)
}
M types/action.go => types/action.go +1 -1
@@ 23,7 23,7 @@ import (
type ActionItem struct {
Name string
ExecTemplate string
- A map[string]interface{}
+ A map[string]any
}
// ExecString returns ExecTemplate with template variables filled in.
M types/target.go => types/target.go +1 -1
@@ 20,7 20,7 @@ import (
// TargetItem represents a target item.
type TargetItem struct {
Name string
- Data map[string]interface{}
+ Data map[string]any
}
// FilterValue returns the value to filter on.