RestApiv2/internal/bd/config.go

12 lines
216 B
Go

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",
}
}