feat(cli): added more advanced date flags for BuildLog CLI
This commit is contained in:
parent
401e0291e3
commit
a4ffc2c0e3
3 changed files with 51 additions and 7 deletions
|
|
@ -68,6 +68,8 @@ pub fn init(db_path string) ?VieterDb {
|
|||
}
|
||||
}
|
||||
|
||||
// row_into<T> converts an sqlite.Row into a given type T by parsing each field
|
||||
// from a string according to its type.
|
||||
pub fn row_into<T>(row sqlite.Row) T {
|
||||
mut i := 0
|
||||
mut out := T{}
|
||||
|
|
|
|||
Reference in a new issue