update use paths

This commit is contained in:
glyph 2022-02-08 11:54:21 +02:00
parent b6fd2e2da5
commit d9839f1d06
4 changed files with 10 additions and 12 deletions

View File

@ -1,8 +1,6 @@
use std::process;
use golgi::error::GolgiError;
use golgi::messages::SsbMessageContent;
use golgi::sbot::Sbot;
use golgi::{messages::SsbMessageContent, GolgiError, Sbot};
async fn run() -> Result<(), GolgiError> {
let mut sbot_client = Sbot::connect(None, None).await?;

View File

@ -1,8 +1,9 @@
use std::process;
use golgi::error::GolgiError;
use golgi::sbot::Sbot;
use golgi::sbot::{FriendsHops, RelationshipQuery};
use golgi::{
api::friends::{FriendsHops, RelationshipQuery},
GolgiError, Sbot,
};
async fn run() -> Result<(), GolgiError> {
let mut sbot_client = Sbot::connect(None, None).await?;

View File

@ -2,9 +2,7 @@ use std::process;
use kuska_ssb::api::dto::content::PubAddress;
use golgi::error::GolgiError;
use golgi::messages::SsbMessageContent;
use golgi::sbot::Sbot;
use golgi::{messages::SsbMessageContent, GolgiError, Sbot};
async fn run() -> Result<(), GolgiError> {
let mut sbot_client = Sbot::connect(None, None).await?;

View File

@ -3,9 +3,10 @@ use std::process;
use async_std::stream::StreamExt;
use futures::{pin_mut, TryStreamExt};
use golgi::error::GolgiError;
use golgi::messages::{SsbMessageContentType, SsbMessageValue};
use golgi::sbot::Sbot;
use golgi::{
messages::{SsbMessageContentType, SsbMessageValue},
GolgiError, Sbot,
};
async fn run() -> Result<(), GolgiError> {
let mut sbot_client = Sbot::connect(None, None).await?;