1
0
mirror of https://github.com/ManyakRus/crud_generator.git synced 2025-01-01 13:21:20 +02:00

сделал if ColumnName == "CreatedAt"

This commit is contained in:
Nikitin Aleksandr 2023-11-14 10:07:23 +03:00
parent 319d84fd40
commit a21b91ba83

View File

@ -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+`"`, "")
}