2022-12-12 20:34:00 +03:00
|
|
|
package bd
|
|
|
|
|
2023-03-31 20:08:38 +03:00
|
|
|
import "os"
|
|
|
|
|
2022-12-12 20:34:00 +03:00
|
|
|
type ConfigBD struct {
|
|
|
|
BaseUrlBd string `yaml:"baseurlbd"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewConfig() *ConfigBD {
|
2023-01-03 19:27:10 +03:00
|
|
|
return &ConfigBD{
|
2023-03-31 20:08:38 +03:00
|
|
|
BaseUrlBd: os.Getenv("DATABASE_URL"),
|
2023-01-03 19:27:10 +03:00
|
|
|
}
|
2022-12-12 20:34:00 +03:00
|
|
|
}
|