1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
mod discovery; mod mutations; mod queries; mod tasks; use sqlx::SqlitePool; #[derive(Clone)] pub struct UrlRepo { pub(super) pool: SqlitePool, } impl UrlRepo { pub fn new(pool: SqlitePool) -> Self { Self { pool } } }