mirror of
https://github.com/actix/examples
synced 2025-06-26 17:17:42 +02:00
group imports
This commit is contained in:
@ -5,9 +5,8 @@ mod model;
|
||||
mod test;
|
||||
|
||||
use actix_web::{get, post, web, App, HttpResponse, HttpServer};
|
||||
use mongodb::{bson::doc, options::IndexOptions, Client, Collection, IndexModel};
|
||||
|
||||
use model::User;
|
||||
use mongodb::{bson::doc, options::IndexOptions, Client, Collection, IndexModel};
|
||||
|
||||
const DB_NAME: &str = "myApp";
|
||||
const COLL_NAME: &str = "users";
|
||||
|
Reference in New Issue
Block a user