// getDefaultPostgresRepository gets the default postgres repository configuration for the service.
getDefaultPostgresRepository gets the default postgres repository configuration for the service.
// getDefaultPostgresRepository gets the default postgres repository configuration for the service .
func defaultRepository() *postgres.Postgres {
	uriCredentials, ok := os.LookupEnv(envDefaultPostgres)
	if !ok {
		log.Fatalf("required environment variable: %s not found", envDefaultPostgres)
	}
	return postgres.New(repository.WithURI(uriCredentials))
}
func defaultRepository ( ) * postgres . Postgres { uriCredentials , ok := os . LookupEnv ( envDefaultPostgres ) if ! ok { log . Fatalf ( " " , envDefaultPostgres ) } return postgres . New ( repository . WithURI ( uriCredentials ) ) }
getDefaultPostgresRepository gets the default postgres repository configuration for the service.
getDefaultPostgresRepository gets the default postgres repository configuration for the service .