mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-24 22:53:52 +02:00
сделал Start_SingularTableName()
This commit is contained in:
@@ -303,6 +303,13 @@ func Start(ApplicationName string) {
|
||||
|
||||
}
|
||||
|
||||
// Start_SingularTableName - делает соединение с БД, отключение и др. Без переименования имени таблиц на множественное число
|
||||
func Start_SingularTableName(ApplicationName string) {
|
||||
SetSingularTableNames(true)
|
||||
Start(ApplicationName)
|
||||
|
||||
}
|
||||
|
||||
// FillSettings загружает переменные окружения в структуру из файла или из переменных окружения
|
||||
func FillSettings() {
|
||||
Settings = SettingsINI{}
|
||||
|
||||
Reference in New Issue
Block a user