diff options
author | Joe <rbo@gmx.us> | 2023-12-26 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2023-12-26 20:20:20 +0100 |
commit | 636fec32c20a56db4257905df7cc70fae45ee3a3 (patch) | |
tree | 78f1bca59624c7dc939b04c0112635294f21af8b /c_hardflip.go | |
parent | not great but fuckye (diff) | |
download | hardflip-636fec32c20a56db4257905df7cc70fae45ee3a3.tar.gz hardflip-636fec32c20a56db4257905df7cc70fae45ee3a3.tar.bz2 hardflip-636fec32c20a56db4257905df7cc70fae45ee3a3.tar.xz hardflip-636fec32c20a56db4257905df7cc70fae45ee3a3.tar.zst hardflip-636fec32c20a56db4257905df7cc70fae45ee3a3.zip |
good
Diffstat (limited to 'c_hardflip.go')
-rw-r--r-- | c_hardflip.go | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/c_hardflip.go b/c_hardflip.go index e58809a..1e5bed9 100644 --- a/c_hardflip.go +++ b/c_hardflip.go @@ -47,7 +47,10 @@ package main -import "fmt" +import ( + "fmt" + "os" +) // the main data structure, holds up everything important type HardData struct { @@ -66,16 +69,7 @@ func main() { HardOpts{true, true}, data_dir, } - - dir := data.ldirs.head - for dir != nil { - fmt.Println(dir) - host := dir.lhost.head - for host != nil { - fmt.Println(" ", host.ID, host.Filename) - host = host.next - } - dir = dir.next - } + os.Exit(0) + fmt.Println(data) // i_ui(&data) } |