summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2024-05-22 22:54:50 +0200
committerJulian T <julian@jtle.dk>2024-05-22 22:54:50 +0200
commitdd11cf4ab199e5d53d03dc95b24007a12727ad70 (patch)
tree710f94ac775ac8e3d279f40638034b847516f0e3 /src/main.rs
parent829cbaf2d0fe95abc9c65b1e34e209fc32952805 (diff)
Start goprojekt istedet
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs22
1 files changed, 0 insertions, 22 deletions
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<dyn Error>> {
- let mut conn = SqliteConnection::connect("sqlite::memory:").await?;
-
- let mut terminal = tui::init()?;
- let res = App::default().run(&mut terminal);
- tui::restore()?;
-
- res?;
- Ok(())
-}