aboutsummaryrefslogtreecommitdiffstats
path: root/c_hardflip.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-26 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-26 20:20:20 +0100
commit636fec32c20a56db4257905df7cc70fae45ee3a3 (patch)
tree78f1bca59624c7dc939b04c0112635294f21af8b /c_hardflip.go
parentnot great but fuckye (diff)
downloadhardflip-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.go18
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)
}