From fde340dda9ded520959d7d431757d5654241c60c Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 29 Dec 2023 20:20:20 +0100 Subject: cleaner --- c_hardflip.go | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'c_hardflip.go') diff --git a/c_hardflip.go b/c_hardflip.go index 6f575eb..8965cdc 100644 --- a/c_hardflip.go +++ b/c_hardflip.go @@ -69,12 +69,22 @@ func main() { opts, data_dir, } - for dir := ldirs.head; dir != nil ; dir = dir.next { - for host := ldirs.head.lhost.head; host != nil; host = host.next { - fmt.Println(host.ID, host.Filename) - } - fmt.Println("next dir") - } + // for dir := ldirs.head; dir != nil ; dir = dir.next { + // fmt.Println(dir.ID, dir.Name) + // } + // for dir := ldirs.head; dir != nil ; dir = dir.next { + // for host := dir.lhost.head; host != nil; host = host.next { + // fmt.Println(host.ID, host.Name) + // } + // } + // for item := litems.head; item != nil ; item = item.next { + // if item.Dirs != nil { + // fmt.Println(item.ID, item.Dirs.Name) + // } else { + // fmt.Println(item.ID, item.Host.Name) + // } + // } + return i_ui(&data) } -- cgit v1.2.3