remove unused code

master
rascul 3 years ago
parent 3855f6ba70
commit 0fcc39b14a

@ -1,4 +1,4 @@
use std::fs::{File, OpenOptions};
use std::fs::OpenOptions;
use std::io::Write;
use std::path::PathBuf;
@ -37,18 +37,6 @@ pub struct WotLog {
}
impl WotLog {
fn generate_id() -> String {
let harsh = Harsh::default();
let ts = Utc::now();
harsh.encode(&[ts.timestamp_nanos() as u64])
}
pub fn new_id(&mut self) {
let harsh = Harsh::default();
let ts = Utc::now();
self.id = harsh.encode(&[ts.timestamp_nanos() as u64])
}
pub fn new() -> Self {
Self {
client: Client::None,

Loading…
Cancel
Save