diff options
author | Joe <rbo@gmx.us> | 2023-12-27 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-27 20:20:20 +0100 |
commit | f2590365561991f352091a12178bfd074ce3256a (patch) | |
tree | 74a44ba79fb7eee93a7f5bb2404543cb510a3169 /c_hardflip.go | |
parent | not quite clean (diff) | |
download | hardflip-f2590365561991f352091a12178bfd074ce3256a.tar.gz hardflip-f2590365561991f352091a12178bfd074ce3256a.tar.bz2 hardflip-f2590365561991f352091a12178bfd074ce3256a.tar.xz hardflip-f2590365561991f352091a12178bfd074ce3256a.tar.zst hardflip-f2590365561991f352091a12178bfd074ce3256a.zip |
dirty but that's the way
Diffstat (limited to 'c_hardflip.go')
-rw-r--r-- | c_hardflip.go | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/c_hardflip.go b/c_hardflip.go index 8155af0..3a677fd 100644 --- a/c_hardflip.go +++ b/c_hardflip.go @@ -47,14 +47,12 @@ package main -import "fmt" - // the main data structure, holds up everything important type HardData struct { litems *ItemsList - ldirs *DirsList - ui HardUI - opts HardOpts + ldirs *DirsList + ui HardUI + opts HardOpts data_dir string } @@ -69,21 +67,6 @@ func main() { opts, data_dir, } - // dir := data.ldirs.head - // for dir != nil { - // spaces := "" - // for i := 0; uint16(i) < dir.Depth; i++ { - // spaces += " " - // } - // fmt.Println(spaces, dir.ID, dir.Name + "/") - // host := dir.lhost.head - // for host != nil { - // fmt.Println(spaces, " ", host.ID, host.Filename) - // host = host.next - // } - // dir = dir.next - // } return - fmt.Println(data) - // i_ui(&data) + i_ui(&data) } |