From a21b91ba838ec3f64752d520da5e791aac56eae6 Mon Sep 17 00:00:00 2001 From: Nikitin Aleksandr Date: Tue, 14 Nov 2023 10:07:23 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20if=20Col?= =?UTF-8?q?umnName=20=3D=3D=20"CreatedAt"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/create_files/create_files.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/create_files/create_files.go b/internal/create_files/create_files.go index 35abef3..ef401f9 100644 --- a/internal/create_files/create_files.go +++ b/internal/create_files/create_files.go @@ -231,6 +231,7 @@ func DeleteImportModel(s string) string { pos1 := strings.Index(Otvet, ImportName+".") if pos1 < 0 { + Otvet = strings.ReplaceAll(Otvet, `"`+ModelURL+`"\n`, "") Otvet = strings.ReplaceAll(Otvet, `"`+ModelURL+`"`, "") }