// getCommentsPostgresRepository gets the repository configuration for the Comments model.
getCommentsPostgresRepository gets the repository configuration for the Comments model.
// getCommentsPostgresRepository gets the repository configuration for the Comments model .
func commentsRepository() *postgres.Postgres {
	uriCredentials, ok := os.LookupEnv(envCommentsPostgres)
	if !ok {
		log.Fatalf("required environment variable %s not found", envCommentsPostgres)
	}
	return postgres.New(repository.WithURI(uriCredentials))
}
func commentsRepository ( ) * postgres . Postgres { uriCredentials , ok := os . LookupEnv ( envCommentsPostgres ) if ! ok { log . Fatalf ( " " , envCommentsPostgres ) } return postgres . New ( repository . WithURI ( uriCredentials ) ) }
getCommentsPostgresRepository gets the repository configuration for the Comments model.
getCommentsPostgresRepository gets the repository configuration for the Comments model .