1
0
mirror of https://github.com/ManyakRus/crud_generator.git synced 2025-10-31 00:17:48 +02:00

сделал FindModelBy

This commit is contained in:
Nikitin Aleksandr
2025-08-13 15:26:05 +03:00
parent f7e169e92d
commit 3f50ecc24b

View File

@@ -174,6 +174,11 @@ func CreateFiles_FindModelBy_Table1(MapAll map[string]*types.Table, Table1 *type
Text1 := create_files.AddImport(TextCrud, ForeignURL)
TextCrud = Text1
//добавим импорт crud
ForeignCrudURL := create_files.Find_CrudTableURL(ForeignTable.Name)
Text1 = create_files.AddImport(TextCrud, ForeignCrudURL)
TextCrud = Text1
return Otvet, TextCrud
}