Documentation ¶
Overview ¶
Copyright (c) 2023 Lucas de Ataides <ldatb@icloud.com>
SPDX-License-Identifier: MIT
Copyright (c) 2023 Lucas de Ataides <ldatb@icloud.com>
SPDX-License-Identifier: MIT
Index ¶
Constants ¶
View Source
const ( DEFAULT_API_PORT = "3000" DEFAULT_LOG_LEVEL = "info" DEFAULT_LOG_OUTPUT = "" DEFAULT_DB_HOST = "localhost" DEFAULT_DB_PORT = "5432" DEFAULT_DB_USER = "gorm" DEFAULT_DB_PASSWORD = "S3cretP@ss" DEFAULT_DB_NAME = "api_db" )
Defaults values for the configs
Variables ¶
This section is empty.
Functions ¶
func GetDatabaseConfigs ¶
func GetDatabaseConfigs(allConfigs models.Configs) models.DatabaseConfigs
From all the configs, fetch only those related to the databse
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.