Skip to content

Commit 4fdf10d

Browse files
committed
Fixed async main attribute
1 parent 4a62c37 commit 4fdf10d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ use async_std::task;
1717
use gotham::{models::Value, GothamModule};
1818
use std::{time::Duration, collections::HashMap};
1919

20+
#[async_std::main]
2021
async fn main() {
2122
let mut module = GothamModule::default(String::from("../path/to/gotham.sock"));
2223
module

0 commit comments

Comments
 (0)