You've already forked crud_generator
mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2025-07-14 14:44:48 +02:00
сделал if ColumnName == "CreatedAt"
This commit is contained in:
@ -231,6 +231,7 @@ func DeleteImportModel(s string) string {
|
|||||||
|
|
||||||
pos1 := strings.Index(Otvet, ImportName+".")
|
pos1 := strings.Index(Otvet, ImportName+".")
|
||||||
if pos1 < 0 {
|
if pos1 < 0 {
|
||||||
|
Otvet = strings.ReplaceAll(Otvet, `"`+ModelURL+`"\n`, "")
|
||||||
Otvet = strings.ReplaceAll(Otvet, `"`+ModelURL+`"`, "")
|
Otvet = strings.ReplaceAll(Otvet, `"`+ModelURL+`"`, "")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user