mirror of
https://github.com/ManyakRus/crud_generator.git
synced 2025-01-03 01:22:21 +02:00
сделал Read_ctx(ctx context.Context, db *gorm.DB, m *calendars.Calendar)
This commit is contained in:
parent
ff3be165e8
commit
c40d220acd
@ -485,7 +485,7 @@ func RenameFunctions(TextDB string, Table1 *types.Table) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, v := range Rename1 {
|
for _, v := range Rename1 {
|
||||||
Otvet = strings.ReplaceAll(Otvet, " "+v.Old+"(", " "+v.New+"(")
|
Otvet = strings.ReplaceAll(Otvet, "func "+v.Old+"(", "func "+v.New+"(")
|
||||||
}
|
}
|
||||||
|
|
||||||
return Otvet
|
return Otvet
|
||||||
|
Loading…
Reference in New Issue
Block a user