You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate Postgres
not work with field name: $Сумма
panic: reflect.StructOf: field "_Сумма" is unexported but missing PkgPath
fixed:
// Replace takes a template based name format and will render a name using it
func Replace(nameFormat, name string) string {
var tpl bytes.Buffer
//fmt.Printf("Replace: %s\n",nameFormat)
t := template.Must(template.New("t1").Funcs(replaceFuncMap).Parse(nameFormat))
//sanek start
if name[0:1] == "$" {
name = name[1:] + "$"
}
//sanek end
The text was updated successfully, but these errors were encountered:
Generate Postgres
not work with field name: $Сумма
panic: reflect.StructOf: field "_Сумма" is unexported but missing PkgPath
fixed:
// Replace takes a template based name format and will render a name using it
func Replace(nameFormat, name string) string {
var tpl bytes.Buffer
//fmt.Printf("Replace: %s\n",nameFormat)
t := template.Must(template.New("t1").Funcs(replaceFuncMap).Parse(nameFormat))
The text was updated successfully, but these errors were encountered: