From 8945d49e7ae4b96b2919fd074c03623a7c65b8f8 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 15 Dec 2023 20:20:20 +0100 Subject: good parsing --- c_josh.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'c_josh.go') 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 + } } -- cgit v1.2.3