From 636fec32c20a56db4257905df7cc70fae45ee3a3 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 26 Dec 2023 20:20:20 +0100 Subject: good --- c_hardflip.go | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'c_hardflip.go') 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) } -- cgit v1.2.3