DEVELOPMENT ENVIRONMENT

~liljamo/tamma

db3827bdfeaaa8bb0ad4d2a57c5cfa9829857515 — Jonni Liljamo 30 days ago a3ca043
chore: interface{} -> any
3 files changed, 3 insertions(+), 3 deletions(-)

M main.go
M types/action.go
M types/target.go
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.