mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
group imports
This commit is contained in:
@ -3,11 +3,12 @@ use juniper::{
|
||||
};
|
||||
use mysql::{from_row, params, Error as DBError, Row};
|
||||
|
||||
use super::{
|
||||
product::{Product, ProductInput},
|
||||
user::{User, UserInput},
|
||||
};
|
||||
use crate::db::Pool;
|
||||
|
||||
use super::product::{Product, ProductInput};
|
||||
use super::user::{User, UserInput};
|
||||
|
||||
pub struct Context {
|
||||
pub dbpool: Pool,
|
||||
}
|
||||
|
Reference in New Issue
Block a user