aboutsummaryrefslogtreecommitdiffstats
path: root/c_josh.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-15 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-15 20:20:20 +0100
commit8945d49e7ae4b96b2919fd074c03623a7c65b8f8 (patch)
treea538134f49219d34aee0b762e8d7b40a42598e20 /c_josh.go
parentnew stuff (diff)
downloadhardflip-8945d49e7ae4b96b2919fd074c03623a7c65b8f8.tar.gz
hardflip-8945d49e7ae4b96b2919fd074c03623a7c65b8f8.tar.bz2
hardflip-8945d49e7ae4b96b2919fd074c03623a7c65b8f8.tar.xz
hardflip-8945d49e7ae4b96b2919fd074c03623a7c65b8f8.tar.zst
hardflip-8945d49e7ae4b96b2919fd074c03623a7c65b8f8.zip
good parsing
Diffstat (limited to 'c_josh.go')
-rw-r--r--c_josh.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/c_josh.go b/c_josh.go
index 05e1f79..0f999d2 100644
--- a/c_josh.go
+++ b/c_josh.go
@@ -47,9 +47,16 @@
package main
+import "fmt"
+
func main() {
var data_dir string
data_dir = c_get_data_dir()
- c_load_data_dir(data_dir)
+ lhost := c_load_data_dir(data_dir)
+ curr := lhost.head
+ for curr != nil {
+ fmt.Println(*curr)
+ curr = curr.next
+ }
}