Cleanup actions, errors, implement actionlog for stats
This commit is contained in:
@@ -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 }})
|
||||
|
||||
Reference in New Issue
Block a user