add generate heper config
All checks were successful
Go Action / goaction (pull_request) Successful in 4m52s

This commit is contained in:
2025-12-29 22:19:11 +03:00
parent 302af61012
commit 8d15b51248
30 changed files with 1046 additions and 570 deletions

View File

@@ -1,8 +1,8 @@
{{ block "FlagValue" . -}}
pval, perr := {{.ValName}}.ParseString()
if perr != nil {
return {{.Value}}, fmt.Errorf("read [%v]:%w",[]string{ {{- .Keys "i" -}} }, perr)
return {{.Value}}, fmt.Errorf("parse [%v]:%w",[]string{ {{- .Keys "i" -}} }, perr)
}
return {{.Value}}, {{.Value}}.Set(pval)
{{- end }}
{{- end -}}