RestApiv2/internal/bd/config.go

12 lines
216 B
Go
Raw Normal View History

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