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:
parent
319d84fd40
commit
a21b91ba83
@ -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+`"`, "")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user