Update Salvo examples
This commit is contained in:
parent
13b53369e2
commit
87f7891f17
@ -9,7 +9,7 @@ use salvo::writer::Text;
|
|||||||
use sea_orm::{entity::*, query::*, DatabaseConnection};
|
use sea_orm::{entity::*, query::*, DatabaseConnection};
|
||||||
use tera::Tera;
|
use tera::Tera;
|
||||||
|
|
||||||
const DEFAULT_POSTS_PER_PAGE: usize = 5;
|
const DEFAULT_POSTS_PER_PAGE: u64 = 5;
|
||||||
type Result<T> = std::result::Result<T, StatusError>;
|
type Result<T> = std::result::Result<T, StatusError>;
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user