Minor change

This commit is contained in:
flyingscorpio@clevo 2022-12-02 11:23:37 +01:00
parent c774a705e0
commit 2ed60fa0f3

View file

@ -2,10 +2,10 @@ use vtapi::ApiClient;
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
let client = ApiClient::new(); let api_client = ApiClient::new();
let res = client.get_ip("8.8.8.8").await; let res = api_client.get_ip("8.8.8.8").await;
println!("{:#?}", res); println!("{:#?}", res);
let res = client.get_url("debian.org").await; let res = api_client.get_url("debian.org").await;
println!("{:#?}", res); println!("{:#?}", res);
} }