From c40d220acd339f60f4f478b05ca6375c9adcb068 Mon Sep 17 00:00:00 2001 From: Nikitin Aleksandr Date: Wed, 3 Apr 2024 10:45:20 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20Read=5Fc?= =?UTF-8?q?tx(ctx=20context.Context,=20db=20*gorm.DB,=20m=20*calendars.Cal?= =?UTF-8?q?endar)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/create_files/db_crud_tables/db_crud_tables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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