refactored todo file into todo module
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
mod config;
|
mod config;
|
||||||
mod todo;
|
mod todo;
|
||||||
mod todo_file;
|
|
||||||
|
|
||||||
use crate::config::Config;
|
use crate::config::Config;
|
||||||
use crate::todo::{Status as TaskStatus, TaskGroup};
|
use crate::todo::{Status as TaskStatus, TaskGroup};
|
||||||
use crate::todo_file::TodoFile;
|
use crate::todo::file::TodoFile;
|
||||||
use chrono::naive::NaiveDate;
|
use chrono::naive::NaiveDate;
|
||||||
use chrono::{Datelike, Local};
|
use chrono::{Datelike, Local};
|
||||||
use comrak::nodes::{AstNode, NodeValue};
|
use comrak::nodes::{AstNode, NodeValue};
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
pub mod file;
|
||||||
|
|
||||||
use std::borrow::Borrow;
|
use std::borrow::Borrow;
|
||||||
|
|
||||||
use comrak::nodes::AstNode;
|
use comrak::nodes::AstNode;
|
||||||
|
|||||||
Reference in New Issue
Block a user