12 lines
348 B
Rust
12 lines
348 B
Rust
use crate::{domain::entities::site::SiteMetadata, outbound::repository::site::SiteRepository};
|
|
|
|
pub struct StaticData {}
|
|
|
|
impl SiteRepository for StaticData {
|
|
async fn get_site_by_domain(domain: &str) -> SiteMetadata {
|
|
SiteMetadata {
|
|
domain: domain.to_string(),
|
|
title: "Test site".to_string(),
|
|
}
|
|
}
|
|
}
|