1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-02-15 15:10:29 +02:00

сделал Start_SingularTableName()

This commit is contained in:
Nikitin Aleksandr 2024-05-03 16:33:19 +03:00
parent ddf3a154ff
commit 8a65c2a1ba

View File

@ -303,6 +303,13 @@ func Start(ApplicationName string) {
}
// Start_SingularTableName - делает соединение с БД, отключение и др. Без переименования имени таблиц на множественное число
func Start_SingularTableName(ApplicationName string) {
SetSingularTableNames(true)
Start(ApplicationName)
}
// FillSettings загружает переменные окружения в структуру из файла или из переменных окружения
func FillSettings() {
Settings = SettingsINI{}