All checks were successful
Go Action / goaction (pull_request) Successful in 4m52s
9 lines
247 B
Smarty
9 lines
247 B
Smarty
{{ block "FlagValue" . -}}
|
|
pval, perr := {{.ValName}}.ParseString()
|
|
if perr != nil {
|
|
return {{.Value}}, fmt.Errorf("parse [%v]:%w",[]string{ {{- .Keys "i" -}} }, perr)
|
|
}
|
|
|
|
return {{.Value}}, {{.Value}}.Set(pval)
|
|
{{- end -}}
|