From dd11cf4ab199e5d53d03dc95b24007a12727ad70 Mon Sep 17 00:00:00 2001 From: Julian T Date: Wed, 22 May 2024 22:54:50 +0200 Subject: Start goprojekt istedet --- src/main.rs | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/main.rs (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs deleted file mode 100644 index 39e81c9..0000000 --- a/src/main.rs +++ /dev/null @@ -1,22 +0,0 @@ - -use render::App; -use sqlx::{self, Connection, SqliteConnection}; - -use std::error::Error; - -mod tui; -mod render; -mod model; - - -#[tokio::main] -async fn main() -> Result<(), Box> { - let mut conn = SqliteConnection::connect("sqlite::memory:").await?; - - let mut terminal = tui::init()?; - let res = App::default().run(&mut terminal); - tui::restore()?; - - res?; - Ok(()) -} -- cgit v1.2.3