refactored todo file into todo module
This commit is contained in:
parent
7a6ed10e23
commit
75d8b80dd7
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue