aboutsummaryrefslogtreecommitdiffstats
path: root/c_josh.go
diff options
context:
space:
mode:
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
+ }
}