pub async fn init_pool() -> anyhow::Result<sqlx::PgPool> {
let pg_host = std::env::var("PG_HOST").unwrap_or("localhost".to_string());
let pg_con = format!("postgres://user:password@{pg_host}:5432/pg");
let pool = sqlx::PgPool::connect(&pg_con).await?;
Ok(pool)
}