diff options
author | Julian T <julian@jtle.dk> | 2024-05-22 22:54:50 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2024-05-22 22:54:50 +0200 |
commit | dd11cf4ab199e5d53d03dc95b24007a12727ad70 (patch) | |
tree | 710f94ac775ac8e3d279f40638034b847516f0e3 /src/main.rs | |
parent | 829cbaf2d0fe95abc9c65b1e34e209fc32952805 (diff) |
Start goprojekt istedet
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 22 |
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(()) -} |