diff --git a/internal/create_files/db_crud_tables/db_crud_tables.go b/internal/create_files/db_crud_tables/db_crud_tables.go index 1d8c2cf..3b08b00 100644 --- a/internal/create_files/db_crud_tables/db_crud_tables.go +++ b/internal/create_files/db_crud_tables/db_crud_tables.go @@ -485,7 +485,7 @@ func RenameFunctions(TextDB string, Table1 *types.Table) string { } for _, v := range Rename1 { - Otvet = strings.ReplaceAll(Otvet, " "+v.Old+"(", " "+v.New+"(") + Otvet = strings.ReplaceAll(Otvet, "func "+v.Old+"(", "func "+v.New+"(") } return Otvet