2022-12-12 20:34:00 +03:00
|
|
|
package bd
|
|
|
|
|
|
|
|
type ConfigBD struct {
|
|
|
|
BaseUrlBd string `yaml:"baseurlbd"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewConfig() *ConfigBD {
|
2023-01-03 19:27:10 +03:00
|
|
|
return &ConfigBD{
|
|
|
|
BaseUrlBd: "host=localhost user=admin password=root dbname=postgres sslmode=disable",
|
|
|
|
}
|
2022-12-12 20:34:00 +03:00
|
|
|
}
|