Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Feb 3, 2025
1 parent d57d9fc commit 9bb926f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ use glib::*;


use ggemini::client::{
connection::{response::Success, Request, Response},
connection::{Request, Response},
Client,
};

Expand All @@ -59,11 +59,10 @@ fn main() -> ExitCode {
|result| match result {
Ok((response, _connection)) => match response {
Response::Success(success) => match success {
Success::Default { mime } => match mime.as_str() {
_ => match success.mime() {
"text/gemini" => todo!(),
_ => todo!(),
},
_ => todo!(),
}
},
_ => todo!(),
},
Expand Down

0 comments on commit 9bb926f

Please sign in to comment.