1
0
mirror of https://github.com/ManyakRus/crud_generator.git synced 2024-11-24 08:22:42 +02:00

сделал Replace_Postgres_ID_Test_ManyPK()

This commit is contained in:
Nikitin Aleksandr 2024-05-31 16:22:52 +03:00
parent 5e5f74be0d
commit e5296fe60a

View File

@ -982,8 +982,9 @@ func CreateFilesCacheTest(Table1 *types.Table) error {
//TextIDMany := create_files.FindTextNameTest_ManyPK(Table1)
//TextCache = strings.ReplaceAll(TextCache, "ReadFromCache(Postgres_ID_Test)", "ReadFromCache("+TextIDMany+")")
//TextCache = create_files.Replace_Postgres_ID_Test(TextCache, Table1)
//EntityURL := create_files.FindModelTableURL(Table1.Name)
//TextCache = create_files.CheckAndAddImport(TextCache, EntityURL)
EntityURL := create_files.FindModelTableURL(Table1.Name)
TextCache = create_files.AddImport(TextCache, EntityURL)
TextCache = create_files.Replace_Postgres_ID_Test_ManyPK(TextCache, Table1)
}
}