Skip to content

Commit

Permalink
style: importの整理
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Dec 3, 2023
1 parent c4fd226 commit a7141c6
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions server/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use tokio::net::TcpListener;

mod domain {
use bytes::Bytes;
use std::fmt::Debug;
Expand Down Expand Up @@ -190,16 +188,15 @@ mod config {

#[tokio::main]
async fn main() {
use crate::config::Config;
use crate::infra_repository_impls::MySQLDumpConnection;
use crate::presentation::get_gachadata_handler;
use axum::routing::get;
use axum::Router;
use crate::{
config::Config, infra_repository_impls::MySQLDumpConnection,
presentation::get_gachadata_handler,
};
use axum::{routing::get, Router};
use sentry::integrations::tower::{NewSentryLayer, SentryHttpLayer};
use std::sync::{Arc, Mutex};
use tracing_subscriber::layer::SubscriberExt;
use tracing_subscriber::util::SubscriberInitExt;
use tracing_subscriber::Layer;
use tokio::net::TcpListener;
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt, Layer};

tracing_subscriber::registry()
.with(sentry::integrations::tracing::layer())
Expand Down

0 comments on commit a7141c6

Please sign in to comment.