Cleanup actions, errors, implement actionlog for stats

This commit is contained in:
Denis Arh
2020-05-26 11:46:55 +02:00
parent 84bb75e6f7
commit a7bc1e4d37
16 changed files with 464 additions and 77 deletions
+3
View File
@@ -90,6 +90,9 @@ func (p {{ $.Service }}ActionProps) serialize() actionlog.Meta {
str = func(i interface{}) string { return fmt.Sprintf("%v", i) }
)
// avoiding declared but not used
_ = str
{{ range $prop := $.Props }}
{{- if $prop.Builtin }}
m["{{ $prop.Name }}"] = str(p.{{ $prop.Name }})